Skip to content

mazedlx/ignition-migrations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An ignition package to show your migrations and their status.

Latest Version on Packagist Build Status Total Downloads License

All your migrations at a glance.

Screenshot

Installation

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:

Screenshot

Usage

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.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email mazedlx@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.