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

Events Laravel Package

spiral/events

Spiral Events provides a lightweight event dispatcher for Spiral/PHP apps. Define events and listeners, publish events, and handle them synchronously with clean integration into the framework’s container and application lifecycle.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables event-driven architecture for decoupled system components, supporting scalable and maintainable feature development (e.g., user registration workflows triggering email, analytics, and notifications without tight coupling).
  • Facilitates asynchronous processing by decoupling time-consuming tasks (e.g., background jobs) from core application logic, improving performance and user experience.
  • Standardizes event handling via PSR-14 compliance, ensuring interoperability with other PSR-14 tools and reducing vendor lock-in risks.
  • Simplifies feature expansion by allowing new functionality (e.g., third-party integrations) to be added via event listeners without modifying existing code.

When to Consider This Package

  • Adopt when: Building applications on the Spiral Framework, as it is the native, framework-integrated PSR-14 implementation with seamless ecosystem compatibility. Use for projects requiring standardized event handling with minimal configuration overhead.
  • Avoid when: Using non-Spiral frameworks (e.g., Laravel, Symfony), where native
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