\Composer\PluginPluginEvents

The Plugin Events.

Summary

Methods
Properties
Constants
No public methods found
No public properties found
INIT
COMMAND
PRE_FILE_DOWNLOAD
PRE_COMMAND_RUN
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

INIT

INIT = 'init' : string

The INIT event occurs after a Composer instance is done being initialized

The event listener method receives a Composer\EventDispatcher\Event instance.

COMMAND

COMMAND = 'command' : string

The COMMAND event occurs as a command begins

The event listener method receives a Composer\Plugin\CommandEvent instance.

PRE_FILE_DOWNLOAD

PRE_FILE_DOWNLOAD = 'pre-file-download' : string

The PRE_FILE_DOWNLOAD event occurs before downloading a file

The event listener method receives a Composer\Plugin\PreFileDownloadEvent instance.

PRE_COMMAND_RUN

PRE_COMMAND_RUN = 'pre-command-run' : string

The PRE_COMMAND_RUN event occurs before a command is executed and lets you modify the input arguments/options

The event listener method receives a Composer\Plugin\PreCommandRunEvent instance.