PHPForge\Scaffold\Config
This content is not available in your language yet.
API reference › Scaffold › Config
Classes
Section titled “Classes”| Class | Summary |
|---|---|
InstalledPackages final readonly | Represents the packages Composer installed in a project, read from its vendor/composer/installed.php. |
ProjectConfig final readonly | Represents the consumer settings read from the project composer.json: extra.scaffold and config.vendor-dir. |
ProjectContext final readonly | Represents the project that the scaffold commands inspect: its root, vendor directory, configuration and installed packages. |
ProjectRootFinder final | Finds the project root by walking up from a directory to the nearest one that contains the Composer manifest. |
ProviderPackage final readonly | Represents an installed provider package as the scaffold core sees it, independent of Composer’s package classes. |
VendorDirResolver final | Resolves 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. |