PHPackages                             cmarfil/pending-migration-advisor - 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. cmarfil/pending-migration-advisor

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

cmarfil/pending-migration-advisor
=================================

Laravel pending migrations advisor.

v1.1.0(10y ago)7409[1 issues](https://github.com/cmarfil/Laravel-pending-migrations-advisor/issues)MITPHPPHP &gt;=5.4.0

Since Feb 18Pushed 10y ago1 watchersCompare

[ Source](https://github.com/cmarfil/Laravel-pending-migrations-advisor)[ Packagist](https://packagist.org/packages/cmarfil/pending-migration-advisor)[ Docs](https://github.com/cmarfil/laravel-pending-migrations-advisor)[ RSS](/packages/cmarfil-pending-migration-advisor/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

Laravel 5 pending migration advisor
===================================

[](#laravel-5-pending-migration-advisor)

Simple Laravel pending migrations advisor, display a warning popup when are pending migrations to run.

[![alt tag](https://camo.githubusercontent.com/72aa87c3fa99eaccbf0ae3246711ed5e315d03de6a294b2ed8069615c26224f2/687474703a2f2f6936312e74696e797069632e636f6d2f7a6f396837712e706e67)](https://camo.githubusercontent.com/72aa87c3fa99eaccbf0ae3246711ed5e315d03de6a294b2ed8069615c26224f2/687474703a2f2f6936312e74696e797069632e636f6d2f7a6f396837712e706e67)

### For Laravel 4, please use the [L4 branch](https://github.com/cmarfil/Laravel-pending-migrations-advisor/tree/L4)!

[](#for-laravel-4-please-use-the-l4-branch)

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

[](#installation)

1. Begin by installing this package through Composer. Edit your project's composer.json file to require-dev cmarfil/pending-migration-advisor.

    ```
    "require-dev": {
    	"cmarfil/pending-migration-advisor": ">=1.1"
    }
    ```
2. Add `'Cmarfil\PendingMigrationAdvisor\PendingMigrationAdvisorServiceProvider'` to `providers` in `app/config/app.php`.

```
'providers' => array(
  // ...
  'Cmarfil\PendingMigrationAdvisor\PendingMigrationAdvisorServiceProvider',
),
```

Configuration
-------------

[](#configuration)

Open `app/config/pending-migration-advisor.php` to adjust package configuration. If this file doesn't exist, run:

```
php artisan vendor:publish --provider="Cmarfil\PendingMigrationAdvisor\PendingMigrationAdvisorServiceProvider"
```

```
return array(
    /**
     * The migrations path
     */
    'migrations_path' =>  base_path().'/database/migrations',
    /**
     * Turn off the advisor
     */
    'enabled' =>  true,
);
```

#### Migrations path

[](#migrations-path)

Specify the migrations path ( normally database/migrations )

#### Enabled

[](#enabled)

Enable or disable the advisor

Finally
-------

[](#finally)

#### Contributing

[](#contributing)

Feel free to create a fork and submit a pull request if you would like to contribute.

#### Bug reports

[](#bug-reports)

Raise an issue on GitHub if you notice something broken.

#### Credits

[](#credits)

Html popup injection based on:

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~93 days

Total

2

Last Release

4004d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f860bb6a399200c0f7b161072e42984eba5749ae96f54c15d70af8daf297a480?d=identicon)[cmarfil](/maintainers/cmarfil)

---

Top Contributors

[![cmarfil](https://avatars.githubusercontent.com/u/798849?v=4)](https://github.com/cmarfil "cmarfil (7 commits)")

---

Tags

laravelmigrationmigrationsadvisorpending

### Embed Badge

![Health badge](/badges/cmarfil-pending-migration-advisor/health.svg)

```
[![Health](https://phpackages.com/badges/cmarfil-pending-migration-advisor/health.svg)](https://phpackages.com/packages/cmarfil-pending-migration-advisor)
```

###  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.3M23](/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)[daavelar/revengedb

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

193.1k](/packages/daavelar-revengedb)

PHPackages © 2026

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