HOW TO MAKE MODEL TOGETHER WITH RESOURCE CONTROLLER AND ALSO MIGRATION
- by Admin
- 10 March 2019
- 1509 views

Hello Every one, if you want to fast develop your application, you can try option generate Model on laravel together with controller resource and also together with migration, For make sure you can look help laravel model, try this syntak:
λ php artisan make:model --help
Well, when you put this syntak you can look output like this
For make sure, you can try create new model for example i try create new model with model Name Bank Model:
λ php artisan make:model Bank -mcr
Helper :
- (-m) Migration for new schema table
- (c) Controller
- (r) Resource Controller
Check your Model, Controller and also Migration, edit your schema table on migration database.
Thank's
Comments