Composer Integration
FastForward DevTools is exposed through both a Composer plugin and a dedicated console application.
Startup Chain
bin/dev-toolsloadsbin/dev-tools.php.bin/dev-tools.phpprefers the consumer project'svendor/autoload.phpand falls back to the package autoloader.bin/dev-tools.phpstartsFastForward\DevTools\DevToolsand appends--no-plugins.FastForward\DevTools\DevToolssetsstandardsas the default command and loads commands fromFastForward\DevTools\Composer\Capability\DevToolsCommandProvider.
Composer Plugin Classes
| Class | Purpose |
|---|---|
FastForward\DevTools\Composer\Plugin
|
Registers the command provider and runs dev-tools:sync
after
Composer install and update. |
FastForward\DevTools\Composer\Capability\DevToolsCommandProvider
|
Instantiates and returns the available command classes. |
FastForward\DevTools\DevTools
|
Console application used by the local binary. |
Why --no-plugins
Is Appended
The local binary already knows which commands it needs. Appending
--no-plugins
keeps the standalone application predictable and avoids
pulling unrelated Composer plugins into the command runtime.