File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 11
11
- [ Launch Artisan command from anywhere] ( #launch-artisan-command-from-anywhere )
12
12
- [ Hide your custom command] ( #hide-your-custom-command )
13
13
- [ Skip method] ( #skip-method )
14
+ - [ Connect to database CLI] ( #connect-to-database-cli )
14
15
15
16
### Artisan command parameters
16
17
@@ -172,3 +173,13 @@ $schedule->command('emails:send')->daily()->skip(function () {
172
173
173
174
Tip given by [ @cosmeescobedo ] ( https://twitter.com/cosmeescobedo/status/1494503181438492675 )
174
175
176
+ ### Connect to database CLI
177
+ To get access to your database CLI directly, you can run the following without any parameters:
178
+ ``` bash
179
+ php artisan db
180
+ ```
181
+ If you are using multiple databases, you may specify a database connection name like:
182
+ ``` bash
183
+ php artisan db mysql
184
+ ```
185
+ This command is absent from the list generated by executing php artisan list.
You can’t perform that action at this time.
0 commit comments