Skip to main content

Module root

Module root 

Source
Expand description

The root package as RootPackageLoader::load builds it (docs/reference/RootPackageLoader.php): version (composer.json, COMPOSER_ROOT_VERSION, git, otherwise 1.0.0+no-version-set), links, minimum-stability, prefer-stable, and the three extractions from the require constraints: aliases (X as Y), stability flags (@dev, branches), references (#sha).

Structs§

RootAlias
RootPackage::getAliases(): an alias declared in a require.
RootError
RootPackage

Constants§

DEFAULT_PRETTY_VERSION

Functions§

extract_stability_flags
RootPackageLoader::extractStabilityFlags.
normalize_stability
VersionParser::normalizeStability.
root_constraint
Constraint of a root require (with as: the source part).