All your migrations at a glance.
You can install the package in to a Laravel app that uses Ignition via composer:
composer require mazedlx/ignition-migrations
Then add the Migrations tab to your Ignition tabs e.g. in your AppServiceProvider
:
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Ignition::tab(new MigrationsTab);
}
If you want to change the output style you can run
$ php artisan vendor:publish --provider="Mazedlx\MigrationsTab\TabServiceProvider"
which will create ignition-migrations.php
in your config
folder:
<?php
return [
/*
* You can choose if you want the output to be
* raw, like it would look in your terminal, or to be
* html, which will display a nice HTML table.
*/
'view' => 'raw',
];
Change view
to html
and the tab's output will look like:
Click on the "Migrations" tab on your Ignition screen to see all your mgirations and call various php artisan migrate
commands right from your browser.
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.