Download the PHP package lbadger/illuminate-data-migrations without Composer
On this page you can find all versions of the php package lbadger/illuminate-data-migrations. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download lbadger/illuminate-data-migrations
More information about lbadger/illuminate-data-migrations
Files in lbadger/illuminate-data-migrations
Download lbadger/illuminate-data-migrations
More information about lbadger/illuminate-data-migrations
Files in lbadger/illuminate-data-migrations
Vendor lbadger
Package illuminate-data-migrations
Short Description Data Migrations for Laravel
License
Package illuminate-data-migrations
Short Description Data Migrations for Laravel
License
Please rate this library. Is it a good library?
Informations about the package illuminate-data-migrations
illuminate-data-migrations
Creating data migrations for Laravel. This keeps data out of migrations and leaves it for schema changes only.
Install
composer require lbadger/illuminate-data-migrations
Data Migration Folder
Create a folder called "data_migrations" in the /database folder
Laravel
config/database.php
'data-migrations' => 'data_migrations',
config/app.php
Add these to the 'providers' array
\Lbadger\Database\Providers\ArtisanServiceProvider::class,
\Lbadger\Database\Providers\DataMigrationServiceProvider::class,
Lumen
bootstrap/app.php
$app['config']['database.data-migrations'] = 'data_migrations';
$app->register(\Lbadger\Database\Providers\ArtisanServiceProvider::class);
$app->register(\Lbadger\Database\Providers\DataMigrationServiceProvider::class);
Custom Stub
If you would like to use custom stubs, you need to put your stub in the database/stubs directory with the suffix of .stub
- Note: You cannot have the same data migration class name as a normal migration
All versions of illuminate-data-migrations with dependencies
PHP Build Version
Package Version
Requires
laravel/lumen-framework Version
^6.0
The package lbadger/illuminate-data-migrations contains the following files
Loading the files please wait ...