class PackageEvents (View source)

Package Events.

Constants

PRE_PACKAGE_INSTALL

The PRE_PACKAGE_INSTALL event occurs before a package is installed.

The event listener method receives a Composer\Installer\PackageEvent instance.

POST_PACKAGE_INSTALL

The POST_PACKAGE_INSTALL event occurs after a package is installed.

The event listener method receives a Composer\Installer\PackageEvent instance.

PRE_PACKAGE_UPDATE

The PRE_PACKAGE_UPDATE event occurs before a package is updated.

The event listener method receives a Composer\Installer\PackageEvent instance.

POST_PACKAGE_UPDATE

The POST_PACKAGE_UPDATE event occurs after a package is updated.

The event listener method receives a Composer\Installer\PackageEvent instance.

PRE_PACKAGE_UNINSTALL

The PRE_PACKAGE_UNINSTALL event occurs before a package has been uninstalled.

The event listener method receives a Composer\Installer\PackageEvent instance.

POST_PACKAGE_UNINSTALL

The POST_PACKAGE_UNINSTALL event occurs after a package has been uninstalled.

The event listener method receives a Composer\Installer\PackageEvent instance.