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 1y agoCompare

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

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

Maintenance37

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity15

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.8k117.8M121](/packages/jdorn-sql-formatter)[backup-manager/backup-manager

A framework agnostic database backup manager with user-definable procedures and support for S3, Dropbox, FTP, SFTP, and more with drivers for popular frameworks.

1.7k1.6M11](/packages/backup-manager-backup-manager)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M88](/packages/propel-propel1)[insolita/yii2-migration-generator

Set of gii tools for generating files for migration by schema of table , phpdoc or table data

108508.0k5](/packages/insolita-yii2-migration-generator)[xpdo/xpdo

A PDO-based Object/Relational Bridge Library

7088.4k4](/packages/xpdo-xpdo)[voku/session2db

A PHP library acting as a wrapper for PHP's default session handling functions which stores data in a MySQL database, providing both better performance and better security and protection against session fixation and session hijacking.

2920.0k](/packages/voku-session2db)

PHPackages © 2026

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