consolidation/self-update

Provides a self:update command for Symfony Console applications.

Installs: 53 517 838

Dependents: 18

Suggesters: 2

Security: 0

Stars: 103

Watchers: 4

Forks: 9

Open Issues: 4

pkg:composer/consolidation/self-update

3.0.1 2024-12-03 18:23 UTC

README

Symfony Console command to update a phar in place.

Usage

To use the self:update command, instantiate it with the name of the application, its current version, and the full name of the GitHub project.

$cmd = new SelfUpdateCommand('MyAppName', '1.0.0', 'org/my-app');
$app->add($cmd);

Similar Projects