MageSmith

Magento 2 Event Catalog

Every event dispatched by Magento 2 core, with dispatch locations and ready-to-copy observer skeletons.

Magento 2 Event Catalog screenshot

What Magento 2 Event Catalog does

  • 1,000+ events extracted from Magento 2.4.9 core — literal dispatches plus synthesized model-lifecycle events (save/delete/load/clear) that hide behind $_eventPrefix concatenation
  • Filter by lifecycle bucket: Save, Delete, Load, Clear, or Custom — one click, URL changes, Google can crawl every permutation
  • Server-side search by event name or Magento module — each query is a shareable, indexable URL
  • Per-event detail page: every file:line where the event is dispatched, plus a ready-to-copy events.xml + PHP observer skeleton
  • Related events in the same module, so you learn the whole dispatch family instead of one event at a time
  • BreadcrumbList JSON-LD on every detail page — eligible for Google's rich-result breadcrumbs in SERPs
  • Deep link from any event directly into the Module Generator to scaffold an observer module around it

How it works

1

Search or filter

Type an event name (e.g. catalog_product_save_after) or pick a lifecycle chip (Save, Delete, Load, Clear, Custom) to scope the catalog to exactly what you need.

2

Inspect dispatch sites

Open any event — see the full list of file paths and line numbers in Magento core where it fires, plus the module that owns it.

3

Copy the observer

Paste the ready-made events.xml + Observer class into your module, or click through to the Module Generator to scaffold a full module around the event.

Frequently asked about Magento 2 Event Catalog

Which Magento version is the catalog from? +

Magento 2.4.9 (current release). The version banner is visible on every page so you always know what you're looking at. Refreshed when Adobe ships patches that add new events.

How are events extracted? +

Two passes over the Magento source tree: (1) regex for literal ->dispatch('name', ...) calls across app/code, vendor/magento, and lib/internal; (2) a prefix pass that reads every class's $_eventPrefix property and synthesizes the nine AbstractModel lifecycle events (save_before/after/commit_after, delete_before/after/commit_after, load_before/after, clear). Net: ~1,100 distinct event names with zero manual curation.

Are custom-module events covered? +

No — core events only. Uploading your own module for a per-install event catalog is a roadmap feature.

Does it cover Magento 1? +

No. Magento 1's event system is similar in shape but the source layout and event names are entirely different. Magento 2 (and Adobe Commerce on 2.4.x) only.

Why are some events missing dispatch sites beyond one line? +

Events dispatched programmatically via a runtime-constructed prefix — e.g. admin grid collections that set $_eventPrefix from a constructor argument — can't be enumerated statically. A tiny number of events fall into this bucket.

Can I get an RSS feed when new events appear? +

Not yet. The catalog refreshes on each Magento version bump; follow @magepsycho for release announcements.

Related tools

Every Magento dev tool, in one hosted workspace.

Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.