deployer/phar-update

This package is abandoned and no longer maintained. No replacement package was suggested.

Integrates Phar Update to Symfony Console.

Installs: 12 668 923

Dependents: 6

Suggesters: 0

Security: 0

Stars: 163

Watchers: 4

Forks: 5

Open Issues: 1

pkg:composer/deployer/phar-update

v2.2.0 2019-12-12 13:45 UTC

This package is auto-updated.

Last update: 2020-08-14 12:27:04 UTC


README

Build Status

Summary

Uses the Phar Update library to:

  1. check for newer versions of the Phar
  2. download the Phar
    • verify download by SHA1 checksum, and public key if available
  3. replace running Phar with downloaded update

Installation

Add it to your list of Composer dependencies:

$ composer require deployer/phar-update

Usage

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);