Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

make model factory and controller laravel

php artisan make:model ModelName -a
// -a stands for all (Model, Controller, Factory and Migration)
// Note: The above command will work successfully in Laravel 5.5 or > versions
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #model #factory #controller #laravel
ADD COMMENT
Topic
Name
1+7 =