consolidation / self-update
Provides a self:update command for Symfony Console applications.
Installs: 45 299 016
Dependents: 18
Suggesters: 2
Security: 0
Stars: 97
Watchers: 5
Forks: 9
Open Issues: 4
Requires
- php: ^8.1
- composer/semver: ^3.2
- guzzlehttp/guzzle: ^7.9
- kevinrob/guzzle-cache-middleware: ^5.1 || ^6
- symfony/cache: ^5.4 || ^6.4 || ^7
- symfony/console: ^5.4 || ^6.4 || ^7
- symfony/filesystem: ^5.4 || ^6.4 || ^7
This package is auto-updated.
Last update: 2024-12-03 18:25:14 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);