Artisan Command Starters
To start, you can always use
php artisan to see a basic list of commands.
Scaffold basic login and registration views and routes:
Create a new controller class:
Create a new migration:
make:migration create_users_table --create=users
Create a Model along with migration, factory, controller, and resouce routes.
php artisan make:model Company -a
Drop all tables and re-run all migrations:
Create the migration repository:
Reset and re-run all migrations:
Rollback all database migrations:
Rollback the last database migration:
Show the status of each migration:
Add column to database table:
php artisan make:migration add_description --table="posts"