Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

Latest commit

 

History

History
32 lines (24 loc) · 1.35 KB

readme.md

File metadata and controls

32 lines (24 loc) · 1.35 KB

Laravel procedure migrations

Build Status StyleCI Packagist GitHub tag (latest SemVer pre-release)

Laravel procedure migrations it's a simple tool to manage your stored procedure in your Laravel projects. It's behaviour is similar to the official database migrations.

You've just to put your .sql procedure file in database/procedures folder and run php artisan procedure:migrate.

To create a new procedure just type in you're terminal php artisan make:procedure <YOUR NEW PROCEDURE NAME>

Installation

You can install "Laravel procedure migrations" with composer: composer require ikdev\procedure_migration

Laravel < 5.6

If your Laravel version is older than 5.6 you'll need to manually adding the service provider. To do this you've to insert this code in your config/app.php file:

'providers' => [
    // Other providers
    
    ProcedureMigrationsServiceProvider::class
]

Need help?

Join in our Telegram community