PHP code example of coderan / laravel-data-migrations

1. Go to this page and download the library: Download coderan/laravel-data-migrations library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

coderan / laravel-data-migrations example snippets


return [
    //other stuff
    'providers' => [
        \Coderan\DataMigrations\DataMigrationsServiceProvider::class,
    ];
];
shell
php artisan vendor:publish --tag=data-migrations
shell
php artisan migrate-data [--path=]
shell
php artisan migrate-data:rollback [--path=]