HOW TO MAKE MODEL TOGETHER WITH RESOURCE CONTROLLER AND ALSO MIGRATION

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

Model Helper Laravel

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

 

Related Articles

Comments