PHP code example of therat / symdep
1. Go to this page and download the library: Download therat/symdep 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/ */
therat / symdep example snippets
bash
cp vendor/therat/symdep/deploy.php.example deploy.php
/**
* modify properties
*/
task(
'env',
function () {
switch (get('build_type')) {
case BuildType::TYPE_DEV:
break;
case BuildType::TYPE_TEST:
break;
case BuildType::TYPE_PROD:
break;
}
}
);
after('properties', 'env');