ikdev / procedure_migration
A simple procedure migration manager for Laravel
Requires
- php: >=7.1
Requires (Dev)
- phpunit/phpunit: ^7.5
This package is auto-updated.
Last update: 2021-04-07 14:22:38 UTC
README
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