Artisan creating controllers, models, migrations

2021.02.12  |  16

How to: Artisan creating controllers, models, migrations

Creating a controller for articles page
php artisan make:controller Pages/ArticlesController

Creating a migration for articles table
php artisan make:migration create_articles_table