PHPackages                             jobmetric/laravel-event-system - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. jobmetric/laravel-event-system

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

jobmetric/laravel-event-system
==============================

This is a event system management package for Laravel that you can use in your projects.

2.8.0(4mo ago)721713MITPHPPHP &gt;=8.1CI passing

Since Aug 18Pushed 4mo ago2 watchersCompare

[ Source](https://github.com/jobmetric/laravel-event-system)[ Packagist](https://packagist.org/packages/jobmetric/laravel-event-system)[ Docs](https://doc.jobmetric.net/package/laravel-event-system)[ RSS](/packages/jobmetric-laravel-event-system/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (15)Used By (13)

[![Contributors](https://camo.githubusercontent.com/826825897dfc6e6207238dfb3189d9137b61562df20a1cde1cc9f23ae9e8f745/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f6a6f626d65747269632f6c61726176656c2d6576656e742d73797374656d2e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/jobmetric/laravel-event-system/graphs/contributors)[![Forks](https://camo.githubusercontent.com/2b738da3bb17d6574440f9e531590f75c5759f6f2252a4332b6e03eef5c64d56/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6a6f626d65747269632f6c61726176656c2d6576656e742d73797374656d2e7376673f7374796c653d666f722d7468652d6261646765266c6162656c3d466f726b)](https://github.com/jobmetric/laravel-event-system/network/members)[![Stargazers](https://camo.githubusercontent.com/68202df7aa8c251d3731b496f4c09ce128d37f28ddb3359a129d43ca2f5b7fa4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6a6f626d65747269632f6c61726176656c2d6576656e742d73797374656d2e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/jobmetric/laravel-event-system/stargazers)[![MIT License](https://camo.githubusercontent.com/d0274edef5cf4cf0dc5d4318a560af52ccdd8d71fc38b6f6ad0845077e1d2869/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6a6f626d65747269632f6c61726176656c2d6576656e742d73797374656d2e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/jobmetric/laravel-event-system/blob/master/LICENCE.md)[![LinkedIn](https://camo.githubusercontent.com/eb590f47a3fca74584d18db8dd3e985ae3d786f50cd41b7530c3af3885da233c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4c696e6b6564496e2d626c75652e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d6c696e6b6564696e26636f6c6f72423d353535)](https://linkedin.com/in/majidmohammadian)

Laravel Event System
====================

[](#laravel-event-system)

**Build Event-Driven Applications. Effortlessly.**

Laravel Event System simplifies dynamic event management in Laravel applications. Stop managing events statically in service providers and start building flexible, maintainable event-driven architectures that adapt to your needs. It provides a flexible layer on top of Laravel's native event system, allowing you to register and manage events at runtime—perfect for modular applications, plugin-based systems, and event-driven architectures. This is where powerful event management meets developer-friendly simplicity—giving you complete control over your event system without the complexity.

Why Laravel Event System?
-------------------------

[](#why-laravel-event-system)

### Dynamic Event Registration

[](#dynamic-event-registration)

Unlike traditional Laravel event systems that require static registration in service providers, Laravel Event System allows you to register and manage events dynamically at runtime. This means you can add, remove, or modify event listeners without code changes—perfect for modular applications and plugin systems.

### Domain Event Architecture

[](#domain-event-architecture)

The package provides a robust foundation for domain-driven design with its `DomainEvent` contract and `EventRegistry`. Create domain events with stable keys, rich metadata, and consistent structure across your application.

### Runtime Flexibility

[](#runtime-flexibility)

Enable or disable event listeners on the fly. Change priorities, update configurations, and manage your entire event system through a simple API or database-driven configuration. No deployment needed for event management changes.

### Event Bus &amp; Registry

[](#event-bus--registry)

Dispatch events by stable keys instead of hard-coding class names. The `EventBus` and `EventRegistry` provide a clean abstraction layer that decouples your code from concrete event classes, making your application more maintainable and testable.

What is Event System Management?
--------------------------------

[](#what-is-event-system-management)

Event system management is the process of dynamically registering, configuring, and managing event-listener bindings in your application. Traditional Laravel applications require you to register events statically in service providers, but Laravel Event System takes a different approach:

- **Database-Driven**: Event-listener bindings are stored in the database, making them manageable at runtime
- **Dynamic Registration**: Add or remove event listeners without code changes
- **Priority Control**: Control the execution order of listeners with priority values
- **Status Toggle**: Enable or disable listeners without removing them
- **Domain Events**: Use stable keys and rich metadata for domain events

Consider a plugin system that needs to register its own events. With Laravel Event System, you can register events with stable keys, dispatch them by key without hard-coding class names, build UI components that list available events with their metadata, enable or disable event handlers through an admin interface, and track event usage and analytics. The power of event system management lies not only in dynamic registration but also in making events easily manageable, configurable, and scalable throughout your application.

What Awaits You?
----------------

[](#what-awaits-you)

By adopting Laravel Event System, you will:

- **Build flexible plugin systems** - Allow plugins to register their own events dynamically
- **Simplify event management** - No more static event registration in service providers
- **Improve maintainability** - Decouple your code from concrete event classes
- **Enable runtime configuration** - Manage events through UI or API without deployments
- **Scale effortlessly** - Handle complex event-driven architectures with ease
- **Maintain clean code** - Simple, intuitive API that follows Laravel conventions

Quick Start
-----------

[](#quick-start)

Install Laravel Event System via Composer:

```
composer require jobmetric/laravel-event-system
```

Documentation
-------------

[](#documentation)

Ready to transform your Laravel applications? Our comprehensive documentation is your gateway to mastering Laravel Event System:

**[📚 Read Full Documentation →](https://jobmetric.github.io/packages/laravel-event-system/)**

The documentation includes:

- **Getting Started** - Quick introduction and installation guide
- **EventSystem Service** - Complete API reference for managing events
- **DomainEvent** - Implement domain events with stable keys and metadata
- **EventBus &amp; EventRegistry** - Dispatch events by keys and manage event registration
- **Requests &amp; Resources** - Validation and API response handling
- **Events** - Hook into event system lifecycle
- **Real-World Examples** - See how it works in practice

Contributing
------------

[](#contributing)

Thank you for participating in `laravel-event-system`. A contribution guide can be found [here](CONTRIBUTING.md).

License
-------

[](#license)

The `laravel-event-system` is open-sourced software licensed under the MIT license. See [License File](LICENCE.md) for more information.

###  Health Score

45

—

FairBetter than 92% of packages

Maintenance76

Regular maintenance activity

Popularity20

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~38 days

Recently: every ~10 days

Total

14

Last Release

134d ago

Major Versions

1.1.0 → 2.0.02025-08-02

PHP version history (2 changes)1.0.0PHP &gt;=8.0.1

2.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/b00d08bd4b0b765ee2d33719a535e6cb49c04fb945078a0809d5c05e6f16ee96?d=identicon)[majidmohammadian](/maintainers/majidmohammadian)

---

Top Contributors

[![MajidMohammadian](https://avatars.githubusercontent.com/u/2099965?v=4)](https://github.com/MajidMohammadian "MajidMohammadian (81 commits)")[![Bagheri-Matin](https://avatars.githubusercontent.com/u/239607447?v=4)](https://github.com/Bagheri-Matin "Bagheri-Matin (4 commits)")[![hassan7303](https://avatars.githubusercontent.com/u/128932029?v=4)](https://github.com/hassan7303 "hassan7303 (1 commits)")

---

Tags

eventlaravelpackageevent managermanagementjobmetric

### Embed Badge

![Health badge](/badges/jobmetric-laravel-event-system/health.svg)

```
[![Health](https://phpackages.com/badges/jobmetric-laravel-event-system/health.svg)](https://phpackages.com/packages/jobmetric-laravel-event-system)
```

###  Alternatives

[firefly-iii/data-importer

Firefly III Data Import Tool.

7545.8k](/packages/firefly-iii-data-importer)[cybercog/laravel-paket

Composer personal web interface. Manage Laravel dependencies without switching to command line!

1753.3k](/packages/cybercog-laravel-paket)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
