FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

deployphp/phar-update: Integrates Phar Update to Symfony Console · GitHub

This repository was archived by the owner on Apr 26, 2020. It is now read-only.
/ phar-update Public archive

Latest commit

 

History

49 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phar Update

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

About

Integrates Phar Update to Symfony Console

Resources

Stars

192 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages


Back | FazBrowse Home | New Git URL