PHPackages                             kabir-ibi/laravel-reverse-generate-migrations - 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. kabir-ibi/laravel-reverse-generate-migrations

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

kabir-ibi/laravel-reverse-generate-migrations
=============================================

Custom Laravel package to reverse generate all migrations with collation and charset

02PHP

Since Jun 1Pushed 2y ago1 watchersCompare

[ Source](https://github.com/kabir-ibi/laravel-reverse-generate-migrations)[ Packagist](https://packagist.org/packages/kabir-ibi/laravel-reverse-generate-migrations)[ RSS](/packages/kabir-ibi-laravel-reverse-generate-migrations/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Reverse Generate Migrations
===================================

[](#laravel-reverse-generate-migrations)

Laravel Reverse Generate Migrations is a custom Laravel package that allows you to reverse generate migration files for all tables in your database, including their respective collation and charset settings. This can be useful when you want to generate migration files based on an existing database schema.

Requirement
-----------

[](#requirement)

PHP Minimum Version: 7.2 Laravel Support: 6.x

Installation
------------

[](#installation)

To install the package, use Composer:

```
composer require kabir-ibi/laravel-reverse-generate-migrations

```

> N.B: To use this package only for dev environment, use following command `composer require --dev kabir-ibi/laravel-reverse-generate-migrations`

Usage
=====

[](#usage)

Once installed, you can run the `reverse:generate-all-migrations` command to generate migration files for all tables in the database:

```
php artisan reverse:generate-all-migrations

```

The migration files will be created in the database/migrations directory, with each file prefixed with a timestamp.

Configuration
=============

[](#configuration)

There is no additional configuration required for this package. The package will use the default database connection configured in your Laravel application.

License
=======

[](#license)

This package is open-source software licensed under the [MIT license](https://chat.openai.com/c/LICENSE).

Contributing
============

[](#contributing)

Contributions are welcome! If you find any issues or want to contribute enhancements, please feel free to submit a pull request.

\#About the Author This package is maintained by KH MOHAIMENUL KABIR. You can contact me at .

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity22

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/3e4c03034079cba2803bc12e017c3d3a36971c45eb05e01612273a39a33c9e70?d=identicon)[kabir-ibi](/maintainers/kabir-ibi)

---

Top Contributors

[![kabir-ibi](https://avatars.githubusercontent.com/u/85867498?v=4)](https://github.com/kabir-ibi "kabir-ibi (6 commits)")

### Embed Badge

![Health badge](/badges/kabir-ibi-laravel-reverse-generate-migrations/health.svg)

```
[![Health](https://phpackages.com/badges/kabir-ibi-laravel-reverse-generate-migrations/health.svg)](https://phpackages.com/packages/kabir-ibi-laravel-reverse-generate-migrations)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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