PHPackages                             syu93/db-versioning - 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. syu93/db-versioning

ActiveLibrary

syu93/db-versioning
===================

DBVersioning is a database versioning tool created to help teams working with local database.

0.0.1.beta(10y ago)00[1 issues](https://github.com/syu93/dbversioning/issues)MITPHPPHP ^5.5

Since May 2Pushed 9y ago1 watchersCompare

[ Source](https://github.com/syu93/dbversioning)[ Packagist](https://packagist.org/packages/syu93/db-versioning)[ RSS](/packages/syu93-db-versioning/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

```
    ____  ____ _    __               _             _
   / __ \/ __ ) |  / /__  __________(_)___  ____  (_)___  ____ _
  / / / / __  | | / / _ \/ ___/ ___/ / __ \/ __ \/ / __ \/ __ `/
 / /_/ / /_/ /| |/ /  __/ /  (__  ) / /_/ / / / / / / / / /_/ /
/_____/_____/ |___/\___/_/  /____/_/\____/_/ /_/_/_/ /_/\__, /
                                                       /____/   version 0.0.1

```

DBVersioning - PHP-based database versioning
============================================

[](#dbversioning---php-based-database-versioning)

Install:
--------

[](#install)

Clone DBVersioning from github:

```
    $ git clone https://github.com/syu93/DBVersioning.git
```

`Note:` To install it globaly, copy the ***bin/dbversioning*** and ***dbversioning.php*** scripts in your bin folder: ***/usr/local/bin***.

Then it done. Juste run:

```
    $ php dbversioning.php [commands] [options]
```

Or if you have installed it globaly:

```
    $ dbversioning [commands] [options]
```

`NOTE:` Add the ***dbv/data/meta*** folder to you .**.gitignoire** or any source management system. And the ***/dbv/data/dbv.json*** as well.

Usage:
------

[](#usage)

We assume you're using one of the two install methods. So we omit the tool name before the command.Refer above for more explanation.

```
    $ command [options] [arguments]
```

```
    $ command -H for help.

```

For exemple:

```
    $ dbversioning init -H
```

Will print:

```
Usage:
    init [options]
Options:
  -d    Database name.
  -h    Server host name. Default: localhost.
  -u    Database user. Default: root.
  -p    Database password.
  -t    [optional] The table to export.
  -T    [optional] The list of table to export
  --path  [optional] The dbv folder path. Default: dbv
Help:
    The init command initialize DBVersioning by reading and saving database records in the 'dbv/data/records/table_name.json'.

```

Options:
--------

[](#options)

```
    -v          Display the application version.

    -h, --help  Display this help message.

```

### The following commands are currently supported:

[](#the-following-commands-are-currently-supported)

```
    init    Initialize DBVersioning by reading and saving records.

    update      Update saved records

    diff    Create the revision file to update the database

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

3664d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/01f7505eb813a121bf8c55ee25e444ad4d213402f4ff91e96135a462c338c798?d=identicon)[syu93](/maintainers/syu93)

---

Top Contributors

[![syu93](https://avatars.githubusercontent.com/u/6306574?v=4)](https://github.com/syu93 "syu93 (46 commits)")

### Embed Badge

![Health badge](/badges/syu93-db-versioning/health.svg)

```
[![Health](https://phpackages.com/badges/syu93-db-versioning/health.svg)](https://phpackages.com/packages/syu93-db-versioning)
```

PHPackages © 2026

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