Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php artisan make controller model and migration

You can do it with the following command:

php artisan make:model post -mcr

Brief :
-m, to create migration
-c to create controller
-r to specify the controller has resource
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #artisan #controller #model #migration
ADD COMMENT
Topic
Name
7+7 =