PHPackages                             caherrera/mysqloffsync - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. caherrera/mysqloffsync

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

caherrera/mysqloffsync
======================

this is a simple wrapper tool with some extras to mysqlump like connect your changes into a git repo or sync from server a to b

v0.3.4(8y ago)028MITShell

Since Jul 20Pushed 7y ago1 watchersCompare

[ Source](https://github.com/caherrera/mysqloffsync)[ Packagist](https://packagist.org/packages/caherrera/mysqloffsync)[ RSS](/packages/caherrera-mysqloffsync/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (8)Used By (0)

mysqloffsync
============

[](#mysqloffsync)

Mysql/MariaDB tool for re-sync, copy and upgrate databases from one server to another.

Requirements
------------

[](#requirements)

[mysql](http://www.mysql.com/)

Before start to use
-------------------

[](#before-start-to-use)

1. Add with mysql\_config\_editor all your --login-path, source and destination
2. make sure you have a default mysql client configuration in ~/.my.cnf
3. have manual backups of your database.

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

[](#installation)

#### Clone this repo

[](#clone-this-repo)

```
$ git clone git@github.com:caherrera/mysqloffsync.git
$ ~/mysqloffsync

```

your execute file will be in $ ~/bin/mysqloffsync

#### By composer

[](#by-composer)

```
$ composer require caherrera/mysqloffsync

```

your execute file will be in

```
$ ./vendor/bin/mysqloffsync

```

First Time
----------

[](#first-time)

Before to start to use the software you will need to configurate some stuff

1. Setup your login-path in mysql

```
$ mysql_config_editor set --login-path=production.server.local --user=db_owner --password

$ mysql_config_editor set --login-path=dev.server.local --user=db_owner --password

```

2. Next set up your mysqloffsync.ini file

```
$ mysqloffsync --setup

```

3. And edit your file using your favorite editor

```
vim ~/.mysqloffsync/mysqloffsync.ini

```

Get some help
-------------

[](#get-some-help)

```
$ mysqloffsync -?

```

Usage
-----

[](#usage)

Copy all tables (default)
-------------------------

[](#copy-all-tables-default)

```
$ mysqloffsync

```

copy views|routines|functions
-----------------------------

[](#copy-viewsroutinesfunctions)

```
$ mysqloffsync v|r|f

```

copy some views
---------------

[](#copy-some-views)

```
$ mysqloffsync v view_prefix_% v_list1 v_list2

```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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

Every ~1 days

Total

7

Last Release

3264d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18551113?v=4)[Carlos Herrera](/maintainers/caherrera)[@caherrera](https://github.com/caherrera)

---

Top Contributors

[![caherrera](https://avatars.githubusercontent.com/u/18551113?v=4)](https://github.com/caherrera "caherrera (2 commits)")[![CarlosItline](https://avatars.githubusercontent.com/u/3080413?v=4)](https://github.com/CarlosItline "CarlosItline (1 commits)")

### Embed Badge

![Health badge](/badges/caherrera-mysqloffsync/health.svg)

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

###  Alternatives

[zuweie/field-interaction

make the laravel-admin field has a interaction

1066.6k](/packages/zuweie-field-interaction)

PHPackages © 2026

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