2017 © Pedro Peláez
 

library laravel-unbreakable-migrations

Prevent your Laravel database migrations from failing irreversibly by using transactional queries.

image

sebastiaanluca/laravel-unbreakable-migrations

Prevent your Laravel database migrations from failing irreversibly by using transactional queries.

  • Thursday, August 3, 2017
  • by sebastiaanluca
  • Repository
  • 2 Watchers
  • 11 Stars
  • 1,146 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 4 % Grown

The README.md

Laravel Unbreakable Migrations

Latest stable release Software license Build status Total downloads, (*1)

Read my blog View my other packages and projects ![Follow @sebastiaanluca on Twitter][twitter-profile-badge] [Share this package on Twitter][link-twitter-share], (*2)

Prevent your Laravel database migrations from failing by wrapping them in transactions., (*3)

Table of contents

Requirements

  • PHP 7.1 or higher
  • Laravel 5.4 or higher

How to install

Laravel 5.5

From Laravel 5.5 and onwards, this package supports auto-discovery. Just add the package to your project using composer and you're good to go!, (*4)

composer require sebastiaanluca/laravel-unbreakable-migrations

Laravel 5.4

Install the package through Composer by using the following command:, (*5)

composer require sebastiaanluca/laravel-unbreakable-migrations

Add the service provider to the providers array in your config/app.php file:, (*6)

'providers' => [

    SebastiaanLuca\Migrations\Providers\UnbreakableMigrationsServiceProvider::class,

]

How to use

Generating migrations

Unbreakable migrations in detail

  • migrateUp
  • migrateDown
  • $tables
  • drop
  • dropAllTables
  • dropColumn
  • tableExists

Transactional migration

License

This package operates under the MIT License (MIT). Please see LICENSE for more information., (*7)

Change log

Please see CHANGELOG for more information what has changed recently., (*8)

Testing

bash composer install composer test, (*9)

Contributing

Please see CONTRIBUTING and CONDUCT for details., (*10)

Security

If you discover any security related issues, please email hello@sebastiaanluca.com instead of using the issue tracker., (*11)

Credits

About

My name is Sebastiaan and I'm a freelance Laravel developer specializing in building custom Laravel applications. Check out my portfolio for more information, my blog for the latest tips and tricks, and my other packages to kick-start your next project., (*12)

Have a project that could use some guidance? Send me an e-mail at hello@sebastiaanluca.com!, (*13)

The Versions

03/08 2017

dev-develop

dev-develop https://www.github.com/sebastiaanluca/laravel-unbreakable-migrations

Prevent your Laravel database migrations from failing irreversibly by using transactional queries.

  Sources   Download

MIT

The Requires

 

The Development Requires

database laravel migrations transactions transactional unbreakable

24/01 2017

dev-master

9999999-dev https://www.github.com/sebastiaanluca/laravel-unbreakable-migrations

Prevent your Laravel database migrations from failing irreversibly by using transactional queries.

  Sources   Download

MIT

The Requires

 

The Development Requires

database laravel migrations transactions transactional sebastiaan luca

24/01 2017

0.1.0

0.1.0.0 https://www.github.com/sebastiaanluca/laravel-unbreakable-migrations

Prevent your Laravel database migrations from failing irreversibly by using transactional queries.

  Sources   Download

MIT

The Requires

 

The Development Requires

database laravel migrations transactions transactional sebastiaan luca