SelfUpdate

Namespace

Table of Contents

Interfaces

SelfUpdateRunnerInterface

Runs the Composer command that updates the installed DevTools package.

SelfUpdateScopeResolverInterface

Resolves whether self-update SHOULD target the local project or Composer global project.

VersionCheckerInterface

Checks whether the installed DevTools package is behind the latest stable release.

VersionCheckNotifierInterface

Emits non-blocking DevTools freshness notices for interactive binary runs.

WorkingDirectorySwitcherInterface

Switches the process working directory before command execution starts.

Classes

ComposerSelfUpdateRunner

Updates DevTools through the active Composer executable.

ComposerSelfUpdateScopeResolver

Detects Composer global DevTools installations from known Composer home paths.

ComposerVersionChecker

Resolves DevTools freshness through Composer metadata without coupling callers to Composer commands.

VersionCheckNotifier

Emits update warnings while ensuring version checks never block the requested command.

VersionCheckResult

Describes the installed and latest known DevTools versions.

WorkingDirectorySwitcher

Applies Composer-like working-directory switching for the standalone binary.