PHP code example of jlorente / laravel-data-migrations

1. Go to this page and download the library: Download jlorente/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/ */

    

jlorente / laravel-data-migrations example snippets


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