class PluginEvents (View source)
The Plugin Events.
The INIT event occurs after a Composer instance is done being initialized
The event listener method receives a Composer\EventDispatcher\Event instance.
The COMMAND event occurs as a command begins
The event listener method receives a Composer\Plugin\CommandEvent instance.
The PRE_FILE_DOWNLOAD event occurs before downloading a file
The event listener method receives a Composer\Plugin\PreFileDownloadEvent instance.
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.