\Composer\InstallerPackageEvents

Package Events.

Summary

Methods
Properties
Constants
No public methods found
No public properties found
PRE_PACKAGE_INSTALL
POST_PACKAGE_INSTALL
PRE_PACKAGE_UPDATE
POST_PACKAGE_UPDATE
PRE_PACKAGE_UNINSTALL
POST_PACKAGE_UNINSTALL
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

PRE_PACKAGE_INSTALL

PRE_PACKAGE_INSTALL = 'pre-package-install' : string

The PRE_PACKAGE_INSTALL event occurs before a package is installed.

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

POST_PACKAGE_INSTALL

POST_PACKAGE_INSTALL = 'post-package-install' : string

The POST_PACKAGE_INSTALL event occurs after a package is installed.

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

PRE_PACKAGE_UPDATE

PRE_PACKAGE_UPDATE = 'pre-package-update' : string

The PRE_PACKAGE_UPDATE event occurs before a package is updated.

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

POST_PACKAGE_UPDATE

POST_PACKAGE_UPDATE = 'post-package-update' : string

The POST_PACKAGE_UPDATE event occurs after a package is updated.

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

PRE_PACKAGE_UNINSTALL

PRE_PACKAGE_UNINSTALL = 'pre-package-uninstall' : string

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

POST_PACKAGE_UNINSTALL = 'post-package-uninstall' : string

The POST_PACKAGE_UNINSTALL event occurs after a package has been uninstalled.

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