w3c/lifecycle-events-bundle
A Symfony bundle that integrates Doctrine entity lifecycle events with Symfony’s event dispatcher, letting you handle prePersist, postPersist, preUpdate, postUpdate, preRemove, and postRemove hooks in dedicated listeners instead of entity callbacks.
Consider it when:
Look elsewhere when:
NOASSERTION means the declared license isn't machine-recognizable to GitHub. Until legal reviews the actual LICENSE file and confirms terms, treat it as unlicensed and therefore not distributable. This is a hard gate, not a footnote.Verdict for a PM: adopt as a reference implementation and design input, not as a production dependency, unless the team is Symfony-native, has accepted fork ownership, and legal has cleared the license.
For executives (30 seconds): "We need lifecycle events — an audit trail and a reliable 'something changed' signal — for the features already on the roadmap: admin history, search freshness, and customer webhooks. There are two ways to get there: adopt a small open-source component, or build roughly a week of glue ourselves. The open-source option has three problems: it's built for Symfony, not our Laravel stack; it has essentially no adoption (zero downstream users); and its license is unclear, which is a legal blocker, not a preference. My recommendation is to build the small internal version — roughly one sprint of engineering — and borrow this project's event design as a reference. That gives us the same capability with no legal exposure and no orphan dependency."
For engineering leadership:
prePersist/postUpdate/preRemove.NOASSERTION), zero dependents, single-maintainer risk, and synchronous in-request dispatch that won't survive an async/outbox requirement.create/update/delete naming as a reference — genuinely useful design input at zero integration cost.How can I help you explore Laravel packages today?