# Create Controllerphp artisan make:controller Auth/LoginController
# Created a Filevi app/Http/Controllers/Auth/LoginController.php
Create Model with Create Table Migration
1
2
3
4
5
6
# Create Model with Migration File by Modelphp artisan make:model Board -m
# Created Filesvi app/Models/Board.php
vi database/migrations/YYYY_MM_DD_000000_create_boards_table.php
Create Modify Table Migration
1
2
3
4
5
# Create Migration File for Modify [users] tablephp artisan make:migration add_username_to_users --table users
# Created a Filevi database/migrations/YYYY_MM_DD_000000_add_username_to_users.php
Create Model with Factory, Migration, Seeder, and Controller
1
2
3
4
5
6
7
8
9
# Create Model, Factory, Migration, Seeder, and Controller for Profilephp artisan make:model Cozy/Profile -a
# Created Filesvi app/Models/Cozy/Profile.php
vi database/factories/Cozy/ProfileFactory.php
vi database/migrations/YYYY_MM_DD_000000_create_profiles_table.php
vi database/seeders/ProfileSeeder.php
vi app/Http/Controllers/ProfileController.php