PHPackages                             daavelar/revengedb - 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. daavelar/revengedb

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

daavelar/revengedb
==================

RevengeDb provides an artisan command to make a reverse engineer of the database, generating automatically the migrations for you

3.0.7(10y ago)193.1k3PHPPHP &gt;=5.5.0

Since Dec 29Pushed 4y ago2 watchersCompare

[ Source](https://github.com/daavelar/revengedb)[ Packagist](https://packagist.org/packages/daavelar/revengedb)[ RSS](/packages/daavelar-revengedb/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (17)Used By (0)

Laravel 5/6 Package :: RevengeDb
================================

[](#laravel-56-package--revengedb)

With this package you will be able to transform your existent schema (only support mysql at the moment) in migration files of Laravel with the following command:

- `php artisan revengedb:migrations`

Installation
============

[](#installation)

Add the package to your Laravel project:

```
composer require daavelar/revengedb

```

Add the ServiceProvider to the app.php file

```
Daavelar\RevengeDb\Providers\RevengeDbServiceProvider::class

```

Using:
======

[](#using)

Generating a migration file for all tables of the database of your mysql config

```
php artisan revengedb:migrations

```

If you want just execute the action in one or more tables, you can pass only as a parameter

```
php artisan revengedb:migrations --only=table1,table2,table3

```

If you want just exclude one or more tables, you can pass the except parameter

```
php artisan revengedb:migrations --except=table1,table2,table3

```

Important: All migration files will be generated with the $table-&gt;timestamps() line.

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

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

###  Release Activity

Cadence

Every ~21 days

Recently: every ~0 days

Total

16

Last Release

3840d ago

Major Versions

1.0.1 → 2.02015-02-13

2.0.3 → 3.02015-11-02

PHP version history (2 changes)1.2PHP &gt;=5.4.0

3.0PHP &gt;=5.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/42b44833dad7c9034294797f433a90a1c5ab7520a167b031aed2c07bb9504f64?d=identicon)[daavelar](/maintainers/daavelar)

---

Top Contributors

[![daavelar](https://avatars.githubusercontent.com/u/7144672?v=4)](https://github.com/daavelar "daavelar (60 commits)")[![ssmusoke](https://avatars.githubusercontent.com/u/689900?v=4)](https://github.com/ssmusoke "ssmusoke (1 commits)")

---

Tags

laravelmigrationgeneratorartisanmigrationsmodelsreverse-engineerfrom existent db

### Embed Badge

![Health badge](/badges/daavelar-revengedb/health.svg)

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

###  Alternatives

[kitloong/laravel-migrations-generator

Generates Laravel Migrations from an existing database

2.9k7.4M24](/packages/kitloong-laravel-migrations-generator)[xethron/migrations-generator

Generates Laravel Migrations from an existing database

3.3k3.3M25](/packages/xethron-migrations-generator)[oscarafdev/migrations-generator

Generates Laravel Migrations from an existing database

362585.2k](/packages/oscarafdev-migrations-generator)[dragon-code/laravel-data-dumper

Adding data from certain tables when executing the `php artisan schema:dump` console command

3418.6k](/packages/dragon-code-laravel-data-dumper)

PHPackages © 2026

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