daavelar/revengedb
RevengeDb provides an artisan command to make a reverse engineer of the database, generating automatically the migrations for you
3,090
20
| Install | |
|---|---|
composer require daavelar/revengedb |
|
| Latest Version: | 3.0.7 |
| PHP: | >=5.5.0 |
| Laravel: | 5 |
| Older releases: | 4 |
| Last Updated: | Jun 30, 2021 |
| Links: | GitHub · Packagist |
Maintainer: daavelar
Laravel 5/6 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
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:
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->timestamps() line.
Related Packages
mediactive-digital/migrations-generator
Generates Laravel Migrations from an existing database
2,543
0
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 3.0.7 | >=5.5.0 | ~5.1 | ||
| 3.0.6 | >=5.5.0 | ~5.1 | ||
| 3.0.5 | >=5.5.0 | ~5.1 | ||
| 3.0.4 | >=5.5.0 | ~5.1 | ||
| 3.0.3 | >=5.5.0 | ~5.1 | ||
| 3.0.2 | >=5.5.0 | ~5.1 | ||
| 3.0.1 | >=5.5.0 | ~5.1 | ||
| 3.0 | >=5.5.0 | ~5.1 | ||
| 2.0.3 | >=5.4.0 | ~5.0 | ||
| 2.0 | >=5.4.0 | ~5.0 | ||
| 1.4.0 | >=5.4.0 | 4.2.* | ||
| 1.3 | >=5.4.0 | 4.2.* | ||
| 1.2 | >=5.4.0 | ~4.2 | ||
| 1.1 | ||||
| 1.0.1 | >=5.4.0 | 4.2.* | ||
| 1.0.0 | >=5.4.0 | 4.2.* |