mazedlx/ignition-migrations

An igintion package to show your migrations and their status.

Installs: 8 870

Dependents: 0

Suggesters: 0

Security: 0

Stars: 22

Watchers: 3

Forks: 1

Open Issues: 4

Language:JavaScript

0.0.04 2020-09-09 06:41 UTC

README

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.