This is intended to be an all in one starting point to develop new APIs using a modern stack.
- Laravel as the framework
- Pint for code style
- Pest for testing
- PHPStan and Larastan for static analysis
This is intended to be run with Valet. However, as with any standard Laravel installation, Sail is included, should you prefer a containerized approach.
- PHP 8.2+ (Created using 8.2)
- Node.js 18+ with npm
- Composer 2+
- Clone the repo
- Run
composer install
- Copy over the
.env.example
file and populate as needed - Run
php artisan key:generate
to generate a unique key - Initialize the database with
php artisan migrate
- Use
./vendor/bin/pint
,./vendor/bin/phpstan
, and./vendor/bin/pest
as needed