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

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

25th/migrations
===============

1.1.1(9y ago)04.5k5[1 issues](https://github.com/25th-floor/migrations/issues)[1 PRs](https://github.com/25th-floor/migrations/pulls)PHPPHP &gt;=5.3

Since Sep 24Pushed 3y ago5 watchersCompare

[ Source](https://github.com/25th-floor/migrations)[ Packagist](https://packagist.org/packages/25th/migrations)[ RSS](/packages/25th-migrations/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (20)Used By (0)

25th Migrations
===============

[](#25th-migrations)

[![Build Status](https://camo.githubusercontent.com/1ee5792abac7a5844109496e9ac957c2852d0c112b241cb44f48363de743593f/68747470733a2f2f7472617669732d63692e6f72672f323574682d666c6f6f722f6d6967726174696f6e732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/25th-floor/migrations)

This module allows to upgrade the database after source code changes by applying sql files in the database.

Installation
============

[](#installation)

Just install via composer

TODO

If you want an executable file somewhere in your project structure and not somewhere in vendors, composer will offer you the possibility to define a bin-dir where all executabls are symlinked.

```
{
    "config": {
        "bin-dir": "scripts"
    }
}

```

Configuration
=============

[](#configuration)

Migrations is configured via ZF1's application.ini which is loaded from `/application/configs/application.ini`.

Currently only Doctrine's DBAL configuration is used.

During runtime a APPLICATION\_ENV must be set!

Usage
=====

[](#usage)

migrations status
-----------------

[](#migrations-status)

`migrations status` will show you a list of all unapplied changes.

migrations apply
----------------

[](#migrations-apply)

`migrations apply next` will apply the next changeset.

`migrations apply all` will apply all missing changesets.

`migrations apply ` will apply the changeset .

With the `--only-mark` option you can apply the migration without executing it.

Development
===========

[](#development)

Running Tests:

```
# Unit tests
vendor/bin/phpunit tests/unit/

# Component tests
docker-compose up -d
vendor/bin/phpunit tests/component/

```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 89.1% 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 ~85 days

Recently: every ~36 days

Total

18

Last Release

3534d ago

Major Versions

0.2.6 → 1.0.02016-03-30

0.2.7 → 1.1.02016-09-03

### Community

Maintainers

![](https://www.gravatar.com/avatar/1f819de39a6e7566165242b47d06b2c866572c80e4789d4d29bb6fd0b75b9824?d=identicon)[dready](/maintainers/dready)

![](https://www.gravatar.com/avatar/b712966d74076870f9952c31aff1dbb540bf5cd554458857325320d7a02dfd89?d=identicon)[adepretis](/maintainers/adepretis)

![](https://www.gravatar.com/avatar/ca692ee669932028481ddc1e807607d7b588533295ddff16277bf24a4df9ce5a?d=identicon)[bountin](/maintainers/bountin)

---

Top Contributors

[![bountin](https://avatars.githubusercontent.com/u/208063?v=4)](https://github.com/bountin "bountin (41 commits)")[![ebmschmidt](https://avatars.githubusercontent.com/u/20441806?v=4)](https://github.com/ebmschmidt "ebmschmidt (3 commits)")[![dready](https://avatars.githubusercontent.com/u/454376?v=4)](https://github.com/dready "dready (1 commits)")[![steos](https://avatars.githubusercontent.com/u/481021?v=4)](https://github.com/steos "steos (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[sonata-project/doctrine-orm-admin-bundle

Integrate Doctrine ORM into the SonataAdminBundle

46117.7M155](/packages/sonata-project-doctrine-orm-admin-bundle)[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)[webfactory/slimdump

slimdump is a little tool to help you creating dumps of large MySQL-databases.

188124.8k1](/packages/webfactory-slimdump)[worksome/foggy

Foggy is a tool for making database dumps with some data removed/changed.

26571.7k1](/packages/worksome-foggy)[psx/sql

Generate type-safe PHP classes from your database

1773.4k4](/packages/psx-sql)[bartlett/php-compatinfo-db

Reference Database of all functions, constants, classes, interfaces on PHP standard distribution and about 110 extensions

1183.0k1](/packages/bartlett-php-compatinfo-db)

PHPackages © 2026

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