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)1125-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 1mo ago

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 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

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

2143d 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

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90440.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)[wildside/userstamps

Laravel Userstamps provides an Eloquent trait which automatically maintains `created\_by` and `updated\_by` columns on your model, populated by the currently authenticated user in your application.

7511.7M13](/packages/wildside-userstamps)

PHPackages © 2026

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