PHPackages                             mtcmedia/db-diff - 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. mtcmedia/db-diff

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

mtcmedia/db-diff
================

Database diff tool for comparing schemas

v1.0.0(5y ago)1201MITPHP

Since Jan 19Pushed 5y ago3 watchersCompare

[ Source](https://github.com/mtcmedia/db-diff)[ Packagist](https://packagist.org/packages/mtcmedia/db-diff)[ Docs](https://github.com/mtcmedia/db-diff)[ RSS](/packages/mtcmedia-db-diff/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Database Diff Checker
=====================

[](#database-diff-checker)

This tool is a database schema comparison tool within Laravel. It is meant to be used to compare schemas for tables or table columns between two similar databases.

Tool is primarily tested on MySql however should work on other schemas as well.

Installation &amp; Usage
========================

[](#installation--usage)

Install package using composer

```
composer require mtcmedia/db-diff

```

Laravel auto-registers module and its commands so no other installation steps required.

Package offers following commands

```
php artisan db-diff:list-tables

php artisan db-diff:list-columns

```

The list tables command will compare table names only and list any missing tables on your local (default) database.

The list columns command will compare all columns in tables and list missing columns (or full tables with all columns) in both directions

Database selection uses `config/database.php` to list connections that can be used for comparison.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](contributing.md) for details.

### Security

[](#security)

If you discover any security-related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

The package is provided under MIT License. Please see [License File](license.md) for more information.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

1991d ago

### Community

Maintainers

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

---

Tags

db diffmysql diff

### Embed Badge

![Health badge](/badges/mtcmedia-db-diff/health.svg)

```
[![Health](https://phpackages.com/badges/mtcmedia-db-diff/health.svg)](https://phpackages.com/packages/mtcmedia-db-diff)
```

###  Alternatives

[illuminate/database

The Illuminate Database package.

2.8k54.9M11.6k](/packages/illuminate-database)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M25](/packages/yajra-laravel-oci8)[glushkovds/phpclickhouse-laravel

Adapter of the most popular library https://github.com/smi2/phpClickHouse to Laravel

2051.5M2](/packages/glushkovds-phpclickhouse-laravel)[lemaur/eloquent-publishing

218.1k1](/packages/lemaur-eloquent-publishing)[laravel-liberu/laravel-gedcom

A package that converts gedcom files to Eloquent models

782.5k1](/packages/laravel-liberu-laravel-gedcom)

PHPackages © 2026

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