PHPackages                             apex/migrations - 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. apex/migrations

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

apex/migrations
===============

Database migrations

2.0.6(2y ago)09031MITPHPPHP &gt;=8.0

Since Apr 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/apexpl/migrations)[ Packagist](https://packagist.org/packages/apex/migrations)[ Docs](https://apexpl.io)[ RSS](/packages/apex-migrations/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (14)Used By (1)

Apex Migrations
===============

[](#apex-migrations)

A lightweight migrations package designed to promote SQL schemas written in SQL, support projects with multiple packages / repositories, and work across mySQL, PostgreSQL and SQLIte from one database schema. It supports:

- Maintain sets of migrations amongst multiple packages / repositories.
- Groups migrations into transactions when they were installed, allowing easy rollbacks.
- Includes author information within each migration.
- Automatically coverts SQL statements between mySQL, PostgreSQL and SQLite allowing interopable database schemas.

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

[](#installation)

Install via Composer with:

> `composer require apex/migrations`

Table of Contents
-----------------

[](#table-of-contents)

1. [Getting Started](https://github.com/apexpl/migrations/blob/master/docs/getting_started.md)
2. [Migration Class](https://github.com/apexpl/migrations/blob/master/docs/migration.md)
3. CLI Commands (./apex-migrations)
    1. [create](https://github.com/apexpl/migrations/blob/master/docs/cli/create.md)
    2. [status](https://github.com/apexpl/migrations/blob/master/docs/cli/status.md)
    3. [history](https://github.com/apexpl/migrations/blob/master/docs/cli/history.md)
    4. [migrate](https://github.com/apexpl/migrations/blob/master/docs/cli/migrate.md)
    5. [rollback](https://github.com/apexpl/migrations/blob/master/docs/cli/rollback.md)

Support
-------

[](#support)

If you have any questions, issues or feedback for Syrus, please feel free to drop a note on the [ApexPl Reddit sub](https://reddit.com/r/apexpl/) for a prompt and helpful response.

Follow Apex
-----------

[](#follow-apex)

Loads of good things coming in the near future including new quality open source packages, more advanced articles / tutorials that go over down to earth useful topics, et al. Stay informed by joining the [mailing list](https://apexpl.io/) on our web site, or follow along on Twitter at [@mdizak1](https://twitter.com/mdizak1).

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 69.2% 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 ~67 days

Recently: every ~113 days

Total

13

Last Release

1034d ago

Major Versions

0.1.5 → 2.02022-01-30

PHP version history (2 changes)0.1PHP &gt;=8.0.0

2.0PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/4fe486d2ed7db571c0519bb0d52b08b5e953a911936e87331e736a381ef96f29?d=identicon)[apex](/maintainers/apex)

---

Top Contributors

[![mdizak](https://avatars.githubusercontent.com/u/59886259?v=4)](https://github.com/mdizak "mdizak (9 commits)")[![apexpl](https://avatars.githubusercontent.com/u/56146521?v=4)](https://github.com/apexpl "apexpl (4 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/apex-migrations/health.svg)

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

###  Alternatives

[ryangjchandler/orbit

A flat-file database driver for Eloquent.

922256.2k5](/packages/ryangjchandler-orbit)[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)[pixelfederation/doctrine-resettable-em-bundle

Symfony bundle for decorating default entity managers using a resettable decorator.

20113.5k](/packages/pixelfederation-doctrine-resettable-em-bundle)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1022.4k](/packages/rcsofttech-audit-trail-bundle)[perplorm/perpl

Perpl is an improved and still maintained fork of Propel2, an open-source Object-Relational Mapping (ORM) for PHP.

203.7k](/packages/perplorm-perpl)

PHPackages © 2026

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