The Laravel Artisan Cheatsheet
A searchable, bookmarkable cheatsheet for
Laravel's
Artisan commands.
Home
API
Laravel Version
11.x
db
🖥
db
Start a new database CLI session
Options
read
- Connect to the read connection
Optional
write
- Connect to the write connection
Optional
Arguments
connection
- The database connection that should be used
Optional
php artisan db [--read] [--write] [--] [<connection>]
Click to copy