Download the PHP package jobmetric/laravel-event-system without Composer
On this page you can find all versions of the php package jobmetric/laravel-event-system. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jobmetric/laravel-event-system
More information about jobmetric/laravel-event-system
Files in jobmetric/laravel-event-system
Package laravel-event-system
Short Description This is a event system management package for Laravel that you can use in your projects.
License MIT
Homepage https://doc.jobmetric.net/package/laravel-event-system
Informations about the package laravel-event-system
Event System for laravel
The EventSystem package provides an easy-to-use system for managing custom events and their listeners in Laravel. It allows you to manage the status of events within your application. This package is highly flexible and integrates seamlessly with Laravel's built-in event system.
Install via composer
Run the following command to pull in the latest version:
Documentation
Before doing anything, you must migrate after installing the package by composer.
How is it used?
Some programs need to add listeners to the system when they are installed, and these listeners are lost when they are removed. Using the following methods, we can add and subtract these tasks in the system.
Add Event
The
event name
is the name of the event that you want to add to the system and must be unique.The
event_class
andlistener_class
must be the full path of the class.The
optional description
is optional and is used to describe the event.
Remove Event
The
event name
is the name of the event that you want to remove from the system.
Events
This package contains several events for which you can write a listener as follows
Event | Description |
---|---|
EventSystemStoreEvent |
This event is called after storing the event system. |
EventSystemDeleteEvent |
This event is called after deleting the event system. |
Contributing
Thank you for considering contributing to the Laravel Event System! The contribution guide can be found in the CONTRIBUTING.md.
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-event-system with dependencies
laravel/framework Version >=9.19
jobmetric/laravel-package-core Version ^1.12