PHP code example of webgriffe / deployer-magento

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

    

webgriffe / deployer-magento example snippets



namespace Deployer;

nfiguration here

// Set magento root directory inside release path (leave blank if Magento is in the root of the release path)
set('magento_root', 'magento');
// Set other Magento's specific config (see below)