PHPackages                             stemizer/php-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. stemizer/php-migration

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

stemizer/php-migration
======================

a mysql migration tool for php applications without framework

v1.0.0-b(5y ago)1130-PHPPHP &gt;=5.3.2CI failing

Since Jul 6Pushed 5y ago1 watchersCompare

[ Source](https://github.com/samettemizer/php-migration)[ Packagist](https://packagist.org/packages/stemizer/php-migration)[ RSS](/packages/stemizer-php-migration/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

php-migration
=============

[](#php-migration)

a mysql migration tool for php applications without framework

installation
------------

[](#installation)

you can add this package dependency to your project using [composer](https://getcomposer.org/):

```
composer require stemizer/php-migration

```

if you only need this package during development:

```
composer require --dev stemizer/php-migration

```

usage example
-------------

[](#usage-example)

```
/**
 * pdo instance
 */
$instance = new PDO(args);

/**
 * example migration scripts :
 * 0-create-tbl-foo.sql
 * 1-modify-tbl-foo.sql
 * 2-another-migration.sql
 * 2-foo-new-fields.sql
 * 3-foo-new-index.sql
 */
$scripts_dir = '/var/www/myproject/any/path';

/**
 * no output
 */
$migration = new YD\Migration($instance, $scripts_dir);
$migration->run();
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

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

2188d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6edb8b69cecf77b3742d03aa823c3535a5124a2b388923b9f292c071fd89c6f8?d=identicon)[stemizer](/maintainers/stemizer)

---

Top Contributors

[![samettemizer](https://avatars.githubusercontent.com/u/1495514?v=4)](https://github.com/samettemizer "samettemizer (2 commits)")[![ydunofficial](https://avatars.githubusercontent.com/u/88098846?v=4)](https://github.com/ydunofficial "ydunofficial (2 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/stemizer-php-migration/health.svg)

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k117.2M118](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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