PHP code example of inkvizytor / phar-update

1. Go to this page and download the library: Download inkvizytor/phar-update 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/ */

    

inkvizytor / phar-update example snippets


use Deployer\Component\PharUpdate\Console\Command;
use Deployer\Component\PharUpdate\Console\Helper;
use Symfony\Component\Console\Application;

$command = new Command('update');
$command->setManifestUri('https://deployer.org/manifest.json');

$app = new Application();
$app->getHelperSet()->set(new Helper());
$app->add($command);