PHP code example of readerstacks / querymigration

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

    

readerstacks / querymigration example snippets




return [
    // ...
    'providers' => [
        Readerstacks\QueryMigration\QueryMigrationServiceProvider::class,
        // ...
    ],
    // ...
];


// ...

$app = new Laravel\Lumen\Application(
    dirname(__DIR__)
);

// ...

$app->register(Readerstacks\QueryMigration\QueryMigrationServiceProvider::class);

// ...

return $app;
shell
php artisan vendor:publish --provider="Readerstacks\QueryMigration\QueryMigrationServiceProvider"
shell
php artisan migrate
shell

php artisan QueryMigrate add --run

shell

php artisan QueryMigrate add 

shell
php artisan QueryMigrate pending
shell
php artisan QueryMigrate migrate
shell
php artisan QueryMigrate list 
shell
php artisan QueryMigrate removeAll 
shell
php artisan QueryMigrate remove --uid=id
shell
php artisan QueryMigrate pedding
shell
php artisan QueryMigrate migrate --uid=uid_of_migration