Aller au contenu
PHP Ecosystem
Explore

PHPForge\Scaffold\Config

Ce contenu n’est pas encore disponible dans votre langue.

API reference › Scaffold › Config

ClassSummary
InstalledPackages final readonlyRepresents the packages Composer installed in a project, read from its vendor/composer/installed.php.
ProjectConfig final readonlyRepresents the consumer settings read from the project composer.json: extra.scaffold and config.vendor-dir.
ProjectContext final readonlyRepresents the project that the scaffold commands inspect: its root, vendor directory, configuration and installed packages.
ProjectRootFinder finalFinds the project root by walking up from a directory to the nearest one that contains the Composer manifest.
ProviderPackage final readonlyRepresents an installed provider package as the scaffold core sees it, independent of Composer’s package classes.
VendorDirResolver finalResolves the Composer vendor directory of a project from COMPOSER_VENDOR_DIR, then config.vendor-dir in the project manifest (composer.json, or the file named by COMPOSER), then <project-root>/vendor.