2017 © Pedro Peláez
 

library laravel-db-shell-command

Add a db:shell command to Laravel which runs a shell for a configured database connection

image

tremby/laravel-db-shell-command

Add a db:shell command to Laravel which runs a shell for a configured database connection

  • Friday, August 14, 2015
  • by tremby
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1,688 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

Database shell command

Add an Artisan command, db:shell, which invokes a database shell on a configured database connection., (*1)

Binaries for the various database shells are expected to be in your path., (*2)

Laravel version

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., (*3)

Installation

Require it in your Laravel project:, (*4)

composer require tremby/laravel-db-shell-command

Register the service provider in your config/app.php file:, (*5)

'providers' => [
    ...
    Tremby\DbShellCommand\ServiceProvider::class,
],

Use

A new Artisan command is added; it will be listed in, (*6)

./artisan list

See the help text for options:, (*7)

./artisan db:shell --help

To launch a shell for the application's default database (in the current environment), just run, (*8)

./artisan db:shell

Supported database drivers

  • mysql

Pull requests are welcome for others., (*9)

The Versions

14/08 2015

dev-master

9999999-dev

Add a db:shell command to Laravel which runs a shell for a configured database connection

  Sources   Download

MIT

The Requires

 

by Bart Nagel

14/08 2015

dev-laravel5

dev-laravel5

Add a db:shell command to Laravel which runs a shell for a configured database connection

  Sources   Download

MIT

The Requires

 

by Bart Nagel

14/08 2015

v2.1

2.1.0.0

Add a db:shell command to Laravel which runs a shell for a configured database connection

  Sources   Download

MIT

The Requires

 

by Bart Nagel

18/06 2015

dev-laravel4

dev-laravel4

Add a db:shell command to Laravel which runs a shell for a configured database connection

  Sources   Download

MIT

The Requires

 

by Bart Nagel

18/06 2015

v2.0

2.0.0.0

Add a db:shell command to Laravel which runs a shell for a configured database connection

  Sources   Download

MIT

The Requires

 

by Bart Nagel

18/06 2015

v1.0

1.0.0.0

Add a db:shell command to Laravel which runs a shell for a configured database connection

  Sources   Download

MIT

The Requires

 

by Bart Nagel

03/03 2015

v0.1

0.1.0.0

Add a db:shell command to Laravel which runs a shell for a configured database connection

  Sources   Download

MIT

The Requires

 

by Bart Nagel