PHPackages                             jezzis/mysqlsyncer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. jezzis/mysqlsyncer

ActiveLibrary[Database &amp; ORM](/categories/database)

jezzis/mysqlsyncer
==================

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

0.1.0(9y ago)256MITPHPPHP &gt;=5.6.0

Since Dec 3Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Jezzis/mysql-syncer)[ Packagist](https://packagist.org/packages/jezzis/mysqlsyncer)[ RSS](/packages/jezzis-mysqlsyncer/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (9)Versions (3)Used By (0)

MYSQL-SYNCER (Laravel 5 Package)
================================

[](#mysql-syncer-laravel-5-package)

[![Build Status](https://camo.githubusercontent.com/c49d27a4a698bf1173f6697c9908efb0b44a4eea2a371d61d9e83863100dc212/68747470733a2f2f7472617669732d63692e6f72672f4a657a7a69732f6d7973716c2d73796e6365722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Jezzis/mysql-syncer)[![Coverage Status](https://camo.githubusercontent.com/3d68f674301a6494daa0539347a71afd55de7b5209aaa770c0c17e5de7520228/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f4a657a7a69732f6d7973716c2d73796e6365722f62616467652e737667)](https://coveralls.io/github/Jezzis/mysql-syncer)[![Latest Stable Version](https://camo.githubusercontent.com/5245c46a818375eab20acdbd0d6e79f72d35cb539bd2703fee6614bb624d7f04/68747470733a2f2f706f7365722e707567782e6f72672f6a657a7a69732f6d7973716c73796e6365722f762f737461626c65)](https://packagist.org/packages/jezzis/mysqlsyncer)[![License](https://camo.githubusercontent.com/063d04c1048f329f6689b4bb37d3ee683648e7effe14d348d30a5e85f45a6346/68747470733a2f2f706f7365722e707567782e6f72672f6a657a7a69732f6d7973716c73796e6365722f6c6963656e7365)](https://packagist.org/packages/jezzis/mysqlsyncer)[![Total Downloads](https://camo.githubusercontent.com/1a218b0d5253a836738ab7bd714851a8a00ed27033c60e4b0332eed49a118252/68747470733a2f2f706f7365722e707567782e6f72672f6a657a7a69732f6d7973716c73796e6365722f646f776e6c6f616473)](https://packagist.org/packages/jezzis/mysqlsyncer)

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

Installation
------------

[](#installation)

1. In order to install mysql-syncer, just add

```
  "jezzis/mysqlsyncer":"dev-master"
```

to your composer.json. Then run `composer install` or `composer update`.

2. In your `config/app.php` add

```
    Jezzis\MysqlSyncer\MysqlSyncerServiceProvider::class
```

Configuration
-------------

[](#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

```
return [

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

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

Usage
-----

[](#usage)

run the command in console:

```
    # php artisan db:sync --drop
```

### Params

[](#params)

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

### Options

[](#options)

- --drop: allow drop columns, keys

Troubleshooting
---------------

[](#troubleshooting)

Grant select privilege on mysql.func and mysql.proc to make sure the tools can fetch the definition of functions &amp; procedure.

License
-------

[](#license)

mysql-syncer is free software distributed under the terms of the MIT license.

Contribution guidelines
-----------------------

[](#contribution-guidelines)

Support follows PSR-1 and PSR-4 PHP coding standards, and semantic versioning.

Please report any issue you find in the issues page. Pull requests are welcome.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3447d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7353825?v=4)[Jezzis](/maintainers/Jezzis)[@Jezzis](https://github.com/Jezzis)

---

Top Contributors

[![songzijian](https://avatars.githubusercontent.com/u/4159664?v=4)](https://github.com/songzijian "songzijian (37 commits)")

---

Tags

laraveldatabaseilluminatesynchronize

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jezzis-mysqlsyncer/health.svg)

```
[![Health](https://phpackages.com/badges/jezzis-mysqlsyncer/health.svg)](https://phpackages.com/packages/jezzis-mysqlsyncer)
```

###  Alternatives

[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[cviebrock/eloquent-taggable

Easy ability to tag your Eloquent models in Laravel.

567694.8k3](/packages/cviebrock-eloquent-taggable)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[cybercog/laravel-clickhouse

ClickHouse migrations for Laravel

163166.8k](/packages/cybercog-laravel-clickhouse)[toponepercent/baum

Baum is an implementation of the Nested Set pattern for Eloquent models.

3154.7k](/packages/toponepercent-baum)[dragon-code/laravel-data-dumper

Adding data from certain tables when executing the `php artisan schema:dump` console command

3418.6k](/packages/dragon-code-laravel-data-dumper)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
