2017 © Pedro Peláez
 

library mysqlsyncer

This package provides a easy way to synchronize database structure to laravel

image

jezzis/mysqlsyncer

This package provides a easy way to synchronize database structure to laravel

  • Tuesday, March 14, 2017
  • by Jezzis
  • Repository
  • 1 Watchers
  • 2 Stars
  • 45 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

MYSQL-SYNCER (Laravel 5 Package)

Build Status Coverage Status Latest Stable Version License Total Downloads, (*1)

This tool provide an easy way to synchronize database structure including tables, views, functions, procedures for Laravel 5., (*2)

Installation

1) In order to install mysql-syncer, just add, (*3)

  "jezzis/mysqlsyncer":"dev-master"

to your composer.json. Then run composer install or composer update., (*4)

2) In your config/app.php add, (*5)

    Jezzis\MysqlSyncer\MysqlSyncerServiceProvider::class

Configuration

If you want to customize the base path of the sql file, please copy src/config.php to laravel project config directory, rename it to msyncer.php, (*6)

return [

    'sql_path' => './', // sql file base path where MySQL-Syncer is looking for.

    'driver' => 'mysql', // connection driver, currently only supports MySQL.
];

Usage

run the command in console:, (*7)

    # php artisan db:sync --drop <file>

Params

  • file: The file path of the sql file, without .sql extension

Options

  • --drop: allow drop columns, keys

Troubleshooting

Grant select privilege on mysql.func and mysql.proc to make sure the tools can fetch the definition of functions & procedure., (*8)

License

mysql-syncer is free software distributed under the terms of the MIT license., (*9)

Contribution guidelines

Support follows PSR-1 and PSR-4 PHP coding standards, and semantic versioning., (*10)

Please report any issue you find in the issues page. Pull requests are welcome., (*11)

The Versions

14/03 2017

dev-master

9999999-dev

This package provides a easy way to synchronize database structure to laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Jezzis

database laravel illuminate synchronize

14/03 2017

dev-szj/feature/test

dev-szj/feature/test

This package provides a easy way to synchronize database structure to laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Jezzis

database laravel illuminate synchronize

03/12 2016

0.1.0

0.1.0.0

This package provides a easy way to synchronize database structure to laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Jezzis

database laravel illuminate synchronize