PHP code example of zaporylie / drupal-composer-sql-sync-policy

1. Go to this page and download the library: Download zaporylie/drupal-composer-sql-sync-policy 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/ */

    

zaporylie / drupal-composer-sql-sync-policy example snippets


$options['env-flow'] = array(
  '@prod' => array(),
  '@staging' => array('@prod'),
  '@dev' => array('@prod', '@staging'),
  '@local' => array('@prod', '@staging', '@dev'),
);