Laravel eloquent artisan commands

Generating model classes

php artisan make:model BlogModel

Generate model class with migration

php artisan make:model BlogModel --migration or -m

Generate model, controller, resource, request classes

php artisan make:model BlogModel --controller --resource --requests

 

© 2016 - 2022, All Rights are Reserved.