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
Requires
- php: >=7.1.0
- facade/ignition: ^1.0
Requires (Dev)
- orchestra/testbench: ^3.8|^4.0|^5.0|^6.0
- phpunit/phpunit: ^8.0
This package is auto-updated.
Last update: 2024-10-11 09:11:51 UTC
README
All your migrations at a glance.
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:
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.