Jump to main content Jump to doc navigation


Other versions: 2.x (current) — Other languages: EN RU — Found a problem? Please edit this page or report an issue.

Fired after a package is successfully installed via the package manager. Added in MODX Revolution 2.6.

Available Variables

  • $package: the modTransportPackage instance that was installed. For example $package->get('package_name') to get the name of the package.
  • $action: one of xPDOTransport::ACTION_UPGRADE or xPDOTransport::ACTION_INSTALL to indicate if it was the first install, or an upgrade.