1. Go to this page and download the library: Download luyadev/luya-deployer 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/ */
luyadev / luya-deployer example snippets
namespace Deployer;
ion here
host('SSHHOST.COM')
->setLabels(['stage' => 'prod'])
->set('remote_user', 'SSHUSER')
->set('deploy_path', '~/httpdocs');
set('repository', 'https://USER:[email protected]/VENDOR/REPO.git');