Skip to main content

Events

Laravel Extension exposes lifecycle, plugin, and kernel events. Use the committed outcomes for business automation that should observe a successful operation.

Event class basenameKeyPayload
ExtensionInstallCommittedEventextension.installed.committedid
ExtensionUninstallCommittedEventextension.uninstalled.committedid
ExtensionDeleteCommittedEventextension.deleted.committednamespace
PluginStoreCommittedEventplugin.stored.committedid
PluginUpdateCommittedEventplugin.updated.committedid
PluginDeleteCommittedEventplugin.deleted.committedid

Extension classes live below JobMetric\Extension\Events\Extension and plugin classes below JobMetric\Extension\Events\Plugin. The provider registers them with the event registry when available.

Delivery waits for the owning database transaction to commit and is discarded on rollback. Delivery is synchronous and carries identifiers only. There is no durable outbox guarantee. Existing legacy events retain their own payloads and timing; keep listeners that depend on those contracts separate from committed automation.

The kernel also exposes discovery, loading, registration, and boot events below JobMetric\Extension\Events\Kernel.