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

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

tereta/migration
================

Database schema facade over tereta/dbal: list tables ordered by foreign-key relations, dump and restore table structure as XML, dump and restore data as XML, apply .sql/.php migrations.

2.0.13(1mo ago)18Apache-2.0PHP &gt;=8.2

Since Apr 19Compare

[ Source](https://gitlab.com/tereta/library/migration)[ Packagist](https://packagist.org/packages/tereta/migration)[ Docs](https://tereta.dev/library/migration)[ RSS](/packages/tereta-migration/feed)WikiDiscussions Synced 2w ago

READMEChangelogDependencies (4)Versions (20)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://gitlab.com/tereta/library/migration).

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance91

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

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 ~3 days

Total

19

Last Release

44d ago

Major Versions

0.2.5 → 1.0.02026-04-26

1.0.7 → 2.0.02026-05-16

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6034426?v=4)[tereta](/maintainers/tereta)[@Tereta](https://github.com/Tereta)

---

Tags

phpschemadatabasedumpmysqlsqlitepostgresqlpdopgsqlquerydsnquery builderrestoretables

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.

9.7k614.3M7.2k](/packages/doctrine-dbal)[aura/sqlquery

Object-oriented query builders for MySQL, Postgres, SQLite, and SQLServer; can be used with any database connection library.

4573.2M40](/packages/aura-sqlquery)[tommyknocker/pdo-database-class

Framework-agnostic PHP database library with unified API for MySQL, MariaDB, PostgreSQL, SQLite, MSSQL, and Oracle. Query Builder, caching, sharding, window functions, CTEs, JSON, migrations, ActiveRecord, CLI tools, AI-powered analysis. Zero external dependencies.

856.1k](/packages/tommyknocker-pdo-database-class)[atlas/query

Object-oriented query builders and performers for MySQL, Postgres, SQLite, and SQLServer.

43260.2k7](/packages/atlas-query)[aura/sqlschema

Provides facilities to read table names and table columns from a database using PDO.

41245.4k4](/packages/aura-sqlschema)[ramadan/custom-fresh

A Laravel package to specify the tables that you do not want to drop while refreshing the database.

611.6k](/packages/ramadan-custom-fresh)

PHPackages © 2026

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