# PHPForge\Scaffold\Console\Command

> 8 classes of the PHPForge\Scaffold\Console\Command namespace.

[API reference](/docs/api/index.md) › [Scaffold](/docs/extensions/scaffold/reference/index.md) › [Console](/docs/extensions/scaffold/reference/console/index.md) › Command

## Classes

| Class | Summary |
| --- | --- |
| [`AbstractScaffoldCommand`](/docs/extensions/scaffold/reference/console/command/abstractscaffoldcommand/index.md) abstract | Runs a scaffold console command: validates its input, resolves the project root and reports a [`RuntimeException`](https://www.php.net/manual/en/class.runtimeexception.php) of the command body as a `[scaffold]` error. |
| [`DiffCommand`](/docs/extensions/scaffold/reference/console/command/diffcommand/index.md) final | Shows what applying the provider would change in a tracked file, or in every tracked file, as a unified diff. |
| [`EjectCommand`](/docs/extensions/scaffold/reference/console/command/ejectcommand/index.md) final | Marks a file as ejected in `scaffold-lock.json` so scaffold stops managing it, without deleting it from disk. |
| [`ProvidersCommand`](/docs/extensions/scaffold/reference/console/command/providerscommand/index.md) final | Lists all scaffold providers recorded in `scaffold-lock.json` with their file counts. |
| [`PruneCommand`](/docs/extensions/scaffold/reference/console/command/prunecommand/index.md) final | Lists 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`](/docs/extensions/scaffold/reference/console/command/reapplycommand/index.md) final | Reapplies provider stubs to tracked files; `--force` also overwrites ejected, adopted, user-modified, `preserve`, `append` and `prepend` files. |
| [`StatusCommand`](/docs/extensions/scaffold/reference/console/command/statuscommand/index.md) final | Displays the state of every scaffold-tracked file against the disk and the current provider stubs. |
| [`SyncCommand`](/docs/extensions/scaffold/reference/console/command/synccommand/index.md) final | Applies the allowed and installed providers to the project outside Composer, as `composer install` would. |