Download the PHP package zingle/laravel5-migrator without Composer
On this page you can find all versions of the php package zingle/laravel5-migrator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zingle/laravel5-migrator
More information about zingle/laravel5-migrator
Files in zingle/laravel5-migrator
Package laravel5-migrator
Short Description Improved version of Laravel 5's Migrator. Adds better error messaging and support for rollbacks with custom paths
License MIT
Homepage https://github.com/zingle/laravel5-migrator
Informations about the package laravel5-migrator
Zingle Laravel Migrator
This overrides and extends Laravel's own migration service provider, migrate, and rollback commands to provide some additional functionality:
- Adds a 'path' column to the migration tracking table so that the
migrate:rollback
command works properly even when the--path
option is used when running migrations - Add improved error display to the
migrate
command, displaying which migrations were succesful and which migration failed in the event of a failed migration
Install
Via Composer
Run the migration to add the path column to your migrations table:
php artisan migrate --path=vendor/zingle/laravel5-migrator/src/migrations
Add the service provider Zingle\LaravelMigrator\LaravelMigratorServiceProvider
to your config/app.php
file providers
array.
Usage
This overrides and extends the default Laravel migrate and rollback commands, so just use them as normal.
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
License
The MIT License (MIT). Please see License File for more information.