PHPackages                             kohkimakimoto/lib-migration - 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. kohkimakimoto/lib-migration

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

kohkimakimoto/lib-migration
===========================

LibMigration is a minimum database migration library and framework for MySQL.

v1.2.0(12y ago)1234.0k↑13.3%2Apache License 2.0PHPPHP &gt;=5.3.0

Since Jul 1Pushed 12y ago3 watchersCompare

[ Source](https://github.com/kohkimakimoto/lib-migration)[ Packagist](https://packagist.org/packages/kohkimakimoto/lib-migration)[ Docs](https://github.com/kohkimakimoto/lib-migration)[ RSS](/packages/kohkimakimoto-lib-migration/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (3)Used By (0)

LibMigration
============

[](#libmigration)

[![Build Status](https://camo.githubusercontent.com/3994b7abed0e72c5bd0d790dc5062c3b0d0e5e1b9115df1684275b208986ba30/68747470733a2f2f7472617669732d63692e6f72672f6b6f686b696d616b696d6f746f2f6c69622d6d6967726174696f6e2e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/kohkimakimoto/lib-migration)

LibMigration is a minimum database migration library and framework for MySQL.

Features
--------

[](#features)

- LibMigration uses plain SQL to change your database schema. Does’t use any specific syntax.
- LibMigration can manage muliple databases.
- LibMigration core api is very simple. So you can easily use it in your other code.

Requirement
-----------

[](#requirement)

PHP5.3 or later.

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

[](#installation)

Use composer installation. Make `composer.json` like the following.

```
{
  "require": {
    "kohkimakimoto/lib-migration": "1.*"
  }
}
```

And run Composer install command.

```
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar install

```

Usage and Documentation
-----------------------

[](#usage-and-documentation)

See the [LibMigraion Github page](http://kohkimakimoto.github.io/lib-migration/)

License
-------

[](#license)

Apache License 2.0

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

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

Every ~246 days

Total

2

Last Release

4503d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/232e612dbf32e70978372a2249e28dd037f75eadafc547913375708571c65f9a?d=identicon)[kohkimakimoto](/maintainers/kohkimakimoto)

---

Top Contributors

[![kohkimakimoto](https://avatars.githubusercontent.com/u/761462?v=4)](https://github.com/kohkimakimoto "kohkimakimoto (94 commits)")

---

Tags

databasemysqlmigrationsdb

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kohkimakimoto-lib-migration/health.svg)

```
[![Health](https://phpackages.com/badges/kohkimakimoto-lib-migration/health.svg)](https://phpackages.com/packages/kohkimakimoto-lib-migration)
```

###  Alternatives

[fpdo/fluentpdo

FluentPDO is a quick and light PHP library for rapid query building. It features a smart join builder, which automatically creates table joins.

922251.8k8](/packages/fpdo-fluentpdo)[odan/phinx-migrations-generator

Migration generator for Phinx

233913.8k25](/packages/odan-phinx-migrations-generator)[rah/danpu

Zero-dependency MySQL dump library for easily exporting and importing databases

62414.3k11](/packages/rah-danpu)[masom/lhm

Large Hadron Migrator for phinx

319.5k](/packages/masom-lhm)[davmixcool/php-dbcloud

Easily backup PostgreSql or MySql database to the cloud

111.5k](/packages/davmixcool-php-dbcloud)

PHPackages © 2026

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