Laravel / Model / Create model using artisan
Create Model using artisan
-
STEP
create an Eloquent model
php artisan make:model Product Model with migration file
php artisan make:model Product --migration Generate a model and controller
php artisan make:model Product --controller Generate a model , controller and resource
php artisan make:model Product --controller --resource --requests