Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mazedlx/ignition-migrations
https://github.com/mazedlx/ignition-migrations
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mazedlx/ignition-migrations
- Owner: mazedlx
- License: mit
- Created: 2019-08-30T19:13:43.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T04:50:32.000Z (almost 2 years ago)
- Last Synced: 2024-11-03T14:05:16.384Z (10 days ago)
- Language: JavaScript
- Size: 4.27 MB
- Stars: 22
- Watchers: 3
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# An ignition package to show your migrations and their status.
[![Latest Version on Packagist](https://img.shields.io/github/v/release/mazedlx/ignition-migrations?label=packagist)](https://packagist.org/packages/mazedlx/ignition-migrations)
[![Build Status](https://img.shields.io/travis/mazedlx/ignition-migrations/master.svg?style=flat-square)](https://travis-ci.org/mazedlx/ignition-migrations)
[![Total Downloads](https://img.shields.io/packagist/dt/mazedlx/ignition-migrations.svg?style=flat-square)](https://packagist.org/packages/mazedlx/ignition-migrations)
[![License](https://img.shields.io/github/license/mazedlx/ignition-migrations)](https://img.shields.io/github/license/mazedlx/ignition-migrations)All your migrations at a glance.
![Screenshot](https://raw.githubusercontent.com/mazedlx/ignition-migrations/master/screenshot001.png)
## Installation
You can install the package in to a Laravel app that uses [Ignition](https://flareapp.io) via composer:
```bash
composer require mazedlx/ignition-migrations
```Then add the Migrations tab to your Ignition tabs e.g. in your `AppServiceProvider`:
```php
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Ignition::tab(new MigrationsTab);
}
```If you want to change the output style you can run
```bash
$ php artisan vendor:publish --provider="Mazedlx\MigrationsTab\TabServiceProvider"
```which will create `ignition-migrations.php` in your `config` folder:
```php
'raw',
];
```Change `view` to `html` and the tab's output will look like:
![Screenshot](https://raw.githubusercontent.com/mazedlx/ignition-migrations/master/screenshot002.png)
## 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
```bash
composer test
```### Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
### Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
## Credits
- [Christian Leo-Pernold](https://github.com/mazedlx)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.