PHP code example of jordanbrauer / deployer-mysql

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

    

jordanbrauer / deployer-mysql example snippets




set("mysql", array(
  "host" => "localhost",
  "port" => 3306,
  "schema" => "your_database_name",
  "username" => "root",
  "password" => "root",
  "dump_file" => "path/to/your/dump/file.sql",
));

set("mysql", array(
  // ...
  "dump_options" => array(
    "--skip-comments",
  ),
));