Expand description
Where each package of the lock gets installed: vendor/<name>[/<target-dir>]
by LibraryInstaller, or the path composer/installers gives it when that
plugin is locked, allowed (config.allow-plugins) and ported
(installers::table_for). A single pass, before touching the disk;
anything not reproducible byte for byte becomes an issue (falls back to
Composer).
The path is relative to the project root and normalised (normalizePath,
no trailing slash); that is the form Composer normalises before computing
install-path (FilesystemRepository::write).
Structs§
Enums§
- Plugin
Verdict allow-pluginsverdict for a package, like PluginManager in non-interactive mode.
Functions§
- global_
allow_ plugins config.allow-pluginsfrom COMPOSER_HOME/config.json.- global_
config_ value - One
config.<key>value of COMPOSER_HOME/config.json — the global layer ofConfig::merge, below the root composer.json. - merged_
allow_ plugins Config::mergeforallow-plugins: the project value replaces the global one unless both are objects, in which casearray_merge($project, $global, $project): the project keys first, in their order, then those only the global config brings. Order matters: the first matching rule decides.- plugin_
allowed - Verdict for
packageunder the project config merged with the global one.