Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Event Manager Laravel Package

doctrine/event-manager

Doctrine Event Manager is a lightweight PHP library providing a simple event system for registering listeners and dispatching events. Commonly used across Doctrine components to decouple services and react to lifecycle or application events cleanly.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables event-driven architecture for decoupled component interactions (e.g., user registration triggers emails, payment processing updates order status)
  • Supports roadmap goals for scalable, reactive features without tight coupling between business logic layers
  • Build vs. buy: Avoids reinventing the wheel with a mature, Doctrine-backed solution validated across 6k+ projects
  • Critical use cases: Audit logging, real-time notifications, and cross-module workflows where loose coupling is required

When to Consider This Package

  • When building modern PHP 8.1+ applications requiring a lightweight, type-safe event system
  • When integrating with Doctrine ecosystem components (ORM, DBAL) where seamless compatibility is critical
  • When needing simple synchronous event dispatching without complex async/queue requirements
  • Avoid if: using legacy PHP versions (<8.1), requiring advanced pub/sub features (e.g., message brokers), or preferring Symfony's heavier EventDispatcher for enterprise-scale projects

How to Pitch It (Stakeholders)

Executives: "Leverage a battle-tested, zero-dependency event system used by Doctrine’s core projects to accelerate development of scalable, decoupled features. Reduces engineering time by 30%+ while eliminating maintenance risks—proven in production across enterprise applications with 6k+ GitHub stars and rigorous testing coverage."
Engineering: "A modern, PHP 8.1+ native event manager with strict type safety, seamless Doctrine integration, and minimal overhead. Supports event subscribers, typed listeners, and backward-compatible upgrades—validated by 100% test coverage and active maintenance."

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport