Package Data | |
---|---|
Maintainer Username: | cmarfil |
Maintainer Contact: | cristian.marfil@gmail.com (cmarfil) |
Package Create Date: | 2015-02-18 |
Package Last Update: | 2015-05-23 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-11 15:18:33 |
Package Statistics | |
---|---|
Total Downloads: | 405 |
Monthly Downloads: | 1 |
Daily Downloads: | 1 |
Total Stars: | 7 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 1 |
Simple Laravel pending migrations advisor, display a warning popup when are pending migrations to run.
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"
}
Add 'Cmarfil\PendingMigrationAdvisor\PendingMigrationAdvisorServiceProvider'
to providers
in app/config/app.php
.
'providers' => array(
// ...
'Cmarfil\PendingMigrationAdvisor\PendingMigrationAdvisorServiceProvider',
),
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,
);
Specify the migrations path ( normally database/migrations )
Enable or disable the advisor
Feel free to create a fork and submit a pull request if you would like to contribute.
Raise an issue on GitHub if you notice something broken.
Html popup injection based on: https://github.com/barryvdh/laravel-debugbar