Laravel Artisan Commands

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

Categories: Posts