Expand description
Generation of the vendor/composer/ state files:
installed.json: lock entries re-dumped in ArrayDumper’s canonical key order (docs/reference/ArrayDumper.php), enriched withversion_normalized,installation-sourceandinstall-path, sorted by (name, version), in JsonFile format (pretty 4 spaces, slashes/unicode unescaped);installed.php: port of FilesystemRepository::generateInstalledVersions- dumpToPhpCode (real packages, replaced/provided virtual ones, root);
InstalledVersions.php: vendored copy of the Composer 2.10.3 file (it is a file COPIED by Composer, not generated; dedicated drift test).
Structs§
- Root
Package - The project’s root package (composer.json), for installed.php.
Constants§
Functions§
- installed_
json - Full installed.json (text, with JsonFile::write’s trailing newline).
- installed_
php - Full installed.php (port of generateInstalledVersions + dumpToPhpCode).
- write_
state_ files