Skip to content
Robert Askam

Laravel Artisan Commands

Robert Askam 1 min read 3,748 views

Laravel Artisan Commands
Inside Laravel there is a very useful command that will help you throughout your entire development process. This command is:
php artisan
To see a full list of commands you can type:
php artisan list
To create a controller use:
php artisan make:controller PostController
To make a model use:
php artisan make:model Posts
To make a model with a migration use:
php artisan make:model -m Posts

Posts Laravel Artisan