2017 © Pedro Peláez
 

library mysqlcommand

A MySql Command Package

image

nox0121/mysqlcommand

A MySql Command Package

  • Wednesday, October 25, 2017
  • by nox0121
  • Repository
  • 1 Watchers
  • 0 Stars
  • 96 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 8 % Grown

The README.md

Mysql Command

這個套件編寫了一些 Mysql 相關的的 Artisan 命令,主要用來協助系統管理與設定。, (*1)

安裝方式

composer require nox0121/mysqlcommand, (*2)

設定 app.confg

'providers' => [
    ...
    Nox0121\MysqlCommand\MysqlCommandServiceProvider::class,
    ...
];

發布設定檔 (config/mysql-command.php)

php artisan vendor:publish --provider="Nox0121\MysqlCommand\MysqlCommandServiceProvider", (*3)

支援指令如下:

  1. php artisan mysql:create-database - 根據 .env 設定,建立資料庫。
  2. php artisan mysql:dump-database - 根據 .env 的資料庫及 APP_STORAGE_PATH 設定,傾倒資料庫。
  3. php artisan mysql:mysql:restore-database - 根據 .env 的資料庫及 APP_STORAGE_PATH 設定,還原資料庫。

The Versions

25/10 2017

dev-master

9999999-dev

A MySql Command Package

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

by Nox Wang

laravel mysql

23/10 2017

1.0.2

1.0.2.0

A MySql Command Package

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

by Nox Wang

laravel mysql

23/10 2017

1.0.1

1.0.1.0

A MySql Command Package

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

by Nox Wang

23/10 2017

1.0.0

1.0.0.0

A MySql Command Package

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

by Nox Wang