PHPackages                             paynalton/mitladb - 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. paynalton/mitladb

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

paynalton/mitladb
=================

Version control for MySQL/MariaDB schemas

07PHP

Since Aug 19Pushed 10mo agoCompare

[ Source](https://github.com/paynalton/mitla-db)[ Packagist](https://packagist.org/packages/paynalton/mitladb)[ RSS](/packages/paynalton-mitladb/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

```
# mitla-db

**mitla-db** is a Composer package designed to provide reusable libraries for implementing a database version control system compatible with MariaDB and MySQL.

## Features

- Database migration management
- Version tracking for database schema changes
- Support for applying, reverting, and seeding migrations
- Compatible with MariaDB and MySQL
- Easily integrates with other PHP projects via Composer

## Installation

Add the package to your project using Composer:

```bash
composer require paynalton/mitla-db
```

## Usage

1. Configure your environment variables or INI file for database credentials.
2. Use the migration manager to apply or revert migrations.
3. Organize your migration stages and SQL files as described in the documentation.

## Example

```php
use paynalton\MitlaDB\Config\EnvConfig;
use paynalton\MitlaDB\Migration\ManagerMigration;

$config = new EnvConfig('/path/to/config.ini');
$migrator = new ManagerMigration($config);

// Apply migrations
$migrator->up();

// Revert migrations
$migrator->down();
```

## Requirements

- PHP 7.4 or higher
- MariaDB or MySQL database
- Composer

## License

MIT License

## Author

paynalton
```

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity14

Early-stage or recently created project

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/1671b9822d31b48bc9c4e19363ae9f33c313c9f085cc4a844a87a883aff425a4?d=identicon)[paynalton](/maintainers/paynalton)

---

Top Contributors

[![paynalton](https://avatars.githubusercontent.com/u/5710791?v=4)](https://github.com/paynalton "paynalton (8 commits)")

### Embed Badge

![Health badge](/badges/paynalton-mitladb/health.svg)

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

###  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)
