Events
Laravel Extension exposes lifecycle, plugin, and kernel events. Use the committed outcomes for business automation that should observe a successful operation.
| Event class basename | Key | Payload |
|---|---|---|
| ExtensionInstallCommittedEvent | extension.installed.committed | id |
| ExtensionUninstallCommittedEvent | extension.uninstalled.committed | id |
| ExtensionDeleteCommittedEvent | extension.deleted.committed | namespace |
| PluginStoreCommittedEvent | plugin.stored.committed | id |
| PluginUpdateCommittedEvent | plugin.updated.committed | id |
| PluginDeleteCommittedEvent | plugin.deleted.committed | id |
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.