Skip to content

DevToolsPluginInterface

github-actions edited this page Apr 28, 2026 · 1 revision

Defines DevTools-specific Composer plugin conventions.


  • Full name: \FastForward\DevTools\Composer\DevToolsPluginInterface
  • Parent interfaces: PluginInterface

Constants

Constant Visibility Type Value
COMPOSER_COMMAND_NAMES public list ['_complete', 'about', 'archive', 'audit', 'browse', 'bump', 'cc', 'check-platform-reqs', 'clear-cache', 'clearcache', 'completion', 'config', 'create-project', 'depends', 'diagnose', 'dump-autoload', 'dumpautoload', 'exec', 'fund', 'global', 'help', 'home', 'i', 'info', 'init', 'install', 'licenses', 'list', 'outdated', 'prohibits', 'r', 'reinstall', 'remove', 'repo', 'repository', 'require', 'rm', 'run', 'run-script', 'search', 'self-update', 'selfupdate', 'show', 'status', 'suggests', 'u', 'uninstall', 'update', 'upgrade', 'validate', 'why', 'why-not']

Methods

isRegisteredCommand

Detects whether a command name or alias is already registered in Composer's command surface.

public isRegisteredCommand(string|null $name): bool

Parameters:

Parameter Type Description
$name string|null the command name or alias being evaluated

Clone this wiki locally