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 Laravel Package

league/event

PSR-14 compatible event dispatcher for PHP. Provides an emitter, listeners and subscribers, plus prioritized, stoppable events. Lightweight, extensible, and framework-agnostic—ideal for decoupling application components and building clean event-driven architectures.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables event-driven architecture for decoupled system components, allowing independent scaling and maintenance of business logic.
  • Supports modular application design by separating event production from handling logic, improving testability and code clarity.
  • Provides PSR-14 compliance, ensuring interoperability with other standards-based PHP libraries and reducing vendor lock-in risks.
  • Facilitates domain-driven design (DDD) practices by making domain events first-class citizens in the codebase without framework-specific constraints.

When to Consider This Package

  • Adopt when: Building a framework-agnostic library or application requiring a lightweight, standards-compliant event dispatcher; needing seamless integration with PSR-14 ecosystem tools; or prioritizing simplicity over advanced features (e.g., no built-in queueing or persistence).
  • Look elsewhere when: Your project already uses a framework with a mature event system (e.g., Laravel’s built-in events), requires asynchronous processing via message queues (e.g., RabbitMQ), or needs event sourcing capabilities (e.g., Prooph or EventStore).

How to Pitch It (Stakeholders)

  • Executives: "This package delivers a future-proof, standards-compliant event system that reduces technical debt and accelerates feature delivery. By adopting PSR-14, we ensure compatibility with industry best practices, minimize vendor lock-in, and enable seamless third-party integrations—all while keeping maintenance costs low and scalability high."
  • Engineering: "It’s a minimal, PSR-14-compliant dispatcher with zero runtime dependencies beyond the standard interface. Easy to integrate, MIT-licensed, and rigorously tested—ideal for decoupling components without framework-specific constraints. Perfect for building modular, maintainable code that evolves independently."
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
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
twbs/bootstrap4
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation
uri-template/tests