1. Go to this page and download the library: Download sextanet/migrate-shield 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/ */
sextanet / migrate-shield example snippets
//config/database.php
'connections' => [
'mysql' => [
'driver' => 'mysql'
// (...),
'dump' => [
'dump_binary_path' => env('MYSQL_DUMP_BINARY_PATH', null), // only the path, so without `mysqldump` or `pg_dump`
'timeout' => env('MYSQL_DUMP_TIMEOUT', 60 * 5), // 5 minutes timuout
],
]
],