Skip to content
PHP Ecosystem
Explore

PHPForge\Scaffold\Console\Command

This content is not available in your language yet.

API reference › Scaffold › Console › Command

ClassSummary
AbstractScaffoldCommand abstractRuns a scaffold console command: validates its input, resolves the project root and reports a RuntimeException of the command body as a [scaffold] error.
DiffCommand finalShows what applying the provider would change in a tracked file, or in every tracked file, as a unified diff.
EjectCommand finalMarks a file as ejected in scaffold-lock.json so scaffold stops managing it, without deleting it from disk.
ProvidersCommand finalLists all scaffold providers recorded in scaffold-lock.json with their file counts.
PruneCommand finalLists the files that no allowed provider ships anymore and, with --force, removes them from the lock and deletes the ones that hold only provider content.
ReapplyCommand finalReapplies provider stubs to tracked files; --force also overwrites ejected, adopted, user-modified, preserve, append and prepend files.
StatusCommand finalDisplays the state of every scaffold-tracked file against the disk and the current provider stubs.
SyncCommand finalApplies the allowed and installed providers to the project outside Composer, as composer install would.