A template for Laravel 9.x Api's.
-
git clone git@github.com:WellingtonCarneiroBarbosa/laravel-9x-api-template.git && cd laravel-9x-api-template
-
rm -rf .git && git init
- (setup your git repo) -
composer install
-
Setup your .env
-
php artisan migrate --seed
-
php artisan serve
composer fix
- Fix all files with php-cs-fixer
composer ide-helper
- Generate ide-helper files
You should install laravel-ide-helper extension
composer doc-api
- Generate documentation for API Routes.