2017 © Pedro Peláez
 

library dbconsole

Database Console

image

encore/dbconsole

Database Console

  • Friday, November 27, 2015
  • by encore
  • Repository
  • 1 Watchers
  • 2 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

DB Console

DB Console is a database console with support for Mysql, Sqlite, Mongodb and Redis., (*1)

Screenshots

Mysql:, (*2)

ff11be54-5cc8-4790-876b-a4950d00fe32, (*3)

MongoDB:, (*4)

9e0543f3-c44b-44a9-9419-9d55da21c540, (*5)

Redis:, (*6)

51a07cbe-089e-428b-a1a3-01bc47da4207, (*7)

Installation

composer require encore/dbconsole --dev

Configuration

See database.php., (*8)

Usage

<?php

require __DIR__ . '/vendor/autoload.php';

use Encore\Dbconsole\Shell;

$shell = new Shell(__DIR__ . '/config/database.php');

// Also you can specify a connection which in your configuration.
//$shell->setConnection('redis');

$shell->run();

And run this script in your console., (*9)

Work with Laravel

When use in Laravel, it will use the database configuration in application., (*10)

Add service provider to config/app.php in providers section:, (*11)

Encore\Dbconsole\Providers\LaravelServiceProvider::class

then run DB Console with:, (*12)

php artisan db:console

The Versions

27/11 2015

0.0.1.x-dev

0.0.1.9999999-dev https://github.com/z-song/db-console

Database Console

  Sources   Download

MIT

The Requires

 

by zsong

database console shell repl

27/11 2015

dev-master

9999999-dev https://github.com/z-song/db-console

Database Console

  Sources   Download

MIT

The Requires

 

by zsong

database console shell repl