1. Go to this page and download the library: Download adt/deployment 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/ */
adt / deployment example snippets
include __DIR__ . '/../vendor/adt/after-deploy/src/AfterDeploy.php';
(new ADT\AfterDeploy\AfterDeploy())
->runBase([
'tempDir' => '/path/to/tempDir/', // ', // optional
'useMaintenance' => 1, // optional, default = 0
'sleep' => 1 // optional, time to wait before afterDeploy starts in seconds, if useMaintenance is 0 it's not used
]
);