Cheatography
https://cheatography.com
Laravel 6 Artisan commands
Options
|
Display the Artisan help |
|
Do not output any message |
|
Do not ask any interactive question |
|
The environment the comment should run under |
|
Increase verbosity of messages |
General commands
|
Remove compiled class file |
|
Turn on maintenance mode |
|
Display current environment |
|
Display help for a command |
|
Display inspiring quote |
|
Lists commands |
|
Run database migrations |
|
Cache bootstrap files |
|
Swap front-end scaffolding |
|
Serve application on PHP dev server |
|
Interact with your application |
|
Turn off maintenance mode |
Auth
|
Flush expired password reset tokens |
Cache
|
Flush application cache |
|
Remove item from cache |
|
Create a migration for the cache table |
Config
|
create configuration cache |
|
clear configuration cache |
db
|
Seed the database |
|
Drop all tables,views and types |
event
|
cache all events and listeners |
|
clear cached events and listeners |
|
generate missing events and listeners |
|
list events and listeners |
|
|
key
|
Generate and set the application key |
make
|
New channel class |
|
New Artisan command |
|
New controller class |
|
New event class |
|
New exception class |
|
Create a new model factory |
|
New job class |
|
New event listener class |
|
New email class |
|
New middleware class |
|
New migration file |
|
New Eloquent model class |
|
New notification class |
|
New observer class |
|
New policy class |
|
New service provider class |
|
New form request class |
|
New resource |
|
New validation rule |
|
New seeder class |
|
New test class |
Migrate
|
Drop tables and re-run migrations |
|
Create migration repository |
|
Rollback and re-run all migrations |
|
Rollback all migrations |
|
Rollback the last migration |
|
Show the status of each migration |
|
Created By
Metadata
Favourited By
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets