| Package Data | |
|---|---|
| Maintainer Username: | tremby |
| Maintainer Contact: | bart@tremby.net (Bart Nagel) |
| Package Create Date: | 2015-03-03 |
| Package Last Update: | 2020-06-17 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-12-02 15:15:17 |
| Package Statistics | |
|---|---|
| Total Downloads: | 1,823 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 1 |
| Total Forks: | 0 |
| Total Open Issues: | 1 |
Add an Artisan command, db:shell, which invokes a database shell on a
configured database connection.
Binaries for the various database shells are expected to be in your path.
This branch and the v2.* line of tags are for Laravel 5. For the Laravel 4
version see the laravel4 branch and the v1.* line of tags.
Require it in your Laravel project:
composer require tremby/laravel-db-shell-command
Register the service provider in your config/app.php file:
'providers' => [
...
Tremby\DbShellCommand\ServiceProvider::class,
],
A new Artisan command is added; it will be listed in
./artisan list
See the help text for options:
./artisan db:shell --help
To launch a shell for the application's default database (in the current environment), just run
./artisan db:shell
Pull requests are welcome for others.