consolidation/self-update
Consolidation Self-Update adds safe, automated self-update support for PHP CLI apps. Check for new releases, download and replace the running PHAR, verify integrity, and manage backups/rollback—ideal for tooling built with Robo and Consolidation components.
Symfony Console command to update a phar in place.
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);
How can I help you explore Laravel packages today?