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)1191MITPHP

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 6d 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 37% 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

1944d 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.8k52.4M9.4k](/packages/illuminate-database)[cviebrock/eloquent-taggable

Easy ability to tag your Eloquent models in Laravel.

567694.8k3](/packages/cviebrock-eloquent-taggable)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[genealabs/laravel-pivot-events

This package introduces new eloquent events for sync(), attach(), detach() or updateExistingPivot() methods on BelongsToMany relation.

1404.9M8](/packages/genealabs-laravel-pivot-events)[reedware/laravel-relation-joins

Adds the ability to join on a relationship by name.

2121.2M13](/packages/reedware-laravel-relation-joins)[aglipanci/laravel-eloquent-case

Adds CASE statement support to Laravel Query Builder.

115157.2k](/packages/aglipanci-laravel-eloquent-case)

PHPackages © 2026

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