composer create-project --prefer-dist laravel/laravel project-name
cd project-name
php artisan serve
php artisan make:controller NameController
Creates a controller with default functions: index, create, store, show, edit, update, destroy.
php artisan make:controller PhotoController --resource
php artisan make:controller PhotoController --api
php artisan make:model NameModel
php artisan make:migration NameMigrate
php artisan make:model NameModel -m
php artisan make:model NameModel -mc
php artisan route:list
php artisan make:middleware NameMiddleware
php artisan make:request NameRequest
php artisan make:policy NamePolicy --model=ModelName
php artisan migrate
php artisan migrate:rollback
php artisan db:seed
php artisan make:seeder NameSeeder
php artisan db:seed --class=NameSeeder
php artisan make:factory NameFactory --model=ModelName
composer require laravel/breeze --dev
php artisan breeze:install
npm install && npm run dev
php artisan migrate
composer require laravel/jetstream
php artisan jetstream:install [livewire|inertia]
npm install && npm run dev
php artisan migrate
php artisan cache:clear
php artisan config:clear
php artisan route:clear
php artisan view:clear
php artisan list
php artisan make:job NameJob
php artisan make:listener NameListener --event=EventName
php artisan make:event NameEvent
php artisan make:notification NameNotification
php artisan make:mail NameMail
php artisan make:command NameCommand
php artisan queue:work
php artisan queue:listen
php artisan make:rule NameRule