Registry / cli / consolidation-self-update

consolidation-self-update

JSON →
library3.1.0phppackagistunverified

Provides a self:update command for Symfony Console applications.

composer require consolidation/self-update
INSTALL
IMPORT
SIG · CONSOLIDATION-SELF
C
consolidation-self-update
cliphpv3.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SelfUpdateCommand
use Consolidation\SelfUpdate\SelfUpdateCommand;

Add a self-update command to a Symfony Console application.

use Consolidation\SelfUpdate\SelfUpdateCommand; use Symfony\Component\Console\Application; $application = new Application('MyApp', '1.0.0'); $application->add(new SelfUpdateCommand('my-app', 'https://example.com/releases.json'));
Debug
Known issues
gotchaRequires a valid JSON release feed URL; otherwise the command will fail.
fix
Ensure the release feed URL returns a valid JSON with version and download URL.
affects: >=3.0.0
Upgrade
Version history
3.1.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
29 hits · last 30 days
node
26
Amazon
1
OpenAI (training)
1
Resources
consolidation-self-update — pip install consolidation-self-update · libregistry