PHPackages                             gdecris/event-ivey - 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. gdecris/event-ivey

ActiveLibrary

gdecris/event-ivey
==================

Simple event and queue system with extensibility through adapters

v1.0.2(8y ago)3291[1 issues](https://github.com/gdecris/event-ivey/issues)MITPHPPHP ^5.5.9 || ^7.0

Since Oct 10Pushed 8y ago1 watchersCompare

[ Source](https://github.com/gdecris/event-ivey)[ Packagist](https://packagist.org/packages/gdecris/event-ivey)[ RSS](/packages/gdecris-event-ivey/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)Dependencies (5)Versions (19)Used By (0)

event-ivey
==========

[](#event-ivey)

PHP Event System with queue driver support

Setup using illuminate/container
--------------------------------

[](#setup-using-illuminatecontainer)

```
  // Register the appropriate queue
  $container->singleton(QueueContract::class, MemoryQueue::class);
  // Bind the dispatcher as a singleton
  $container->singleton(EventDispatcher::class);

```

Basic Usage
-----------

[](#basic-usage)

### Listen to events

[](#listen-to-events)

```
  $container->make(EventDispatcher::class)->listen('event.name', function($payload) {
    // Listener receives the payload
  });

```

### Fire events

[](#fire-events)

```
  $container->make(EventDispatcher::class)->fire('event.name', ['some' => 'payload data']);

```

Queued Listener
---------------

[](#queued-listener)

### Registering the Listener

[](#registering-the-listener)

```
  $container->make(EventDispatcher::class)->listen('event.name', MyListener::class);

```

### Listener class

[](#listener-class)

```
  use Ivey\Events\EventListener;

  class MyListener extends EventListener
  {
      proteceted static $should_queue = true;

      public function fire($payload)
      {
          // TODO: Implement fire() method.
      }
  }

```

Worker
------

[](#worker)

### Running the worker

[](#running-the-worker)

```
  $worker = $container->make(Worker::class);

  // Sleep for 5 seconds retry a max of 3 times before failing
  $worker->setSleep(5)
      ->setTries(3)
      ->runDaemon();

```

### Failed jobs

[](#failed-jobs)

```
  // Add a listener for catching the failed jobs so you can handle them accordingly
  $container->make(EventDispatcher::class)->listen('failed.job', function ($payload) {

  });

```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~22 days

Recently: every ~70 days

Total

18

Last Release

3130d ago

Major Versions

v0.7.14 → v1.0.02017-06-15

PHP version history (3 changes)v0.7.1PHP ^5.59

v0.7.2PHP ^5.59 || ^7.0

v0.7.9PHP ^5.5.9 || ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/18839c9507a16724ba81a0f7735ae064d317e7841f7c421d01f751894bb3e7eb?d=identicon)[gdecris](/maintainers/gdecris)

---

Top Contributors

[![gdecris](https://avatars.githubusercontent.com/u/2030913?v=4)](https://github.com/gdecris "gdecris (29 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gdecris-event-ivey/health.svg)

```
[![Health](https://phpackages.com/badges/gdecris-event-ivey/health.svg)](https://phpackages.com/packages/gdecris-event-ivey)
```

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[bref/laravel-bridge

An advanced Laravel integration for Bref, including Octane support.

3384.1M11](/packages/bref-laravel-bridge)[laravel/pennant

A simple, lightweight library for managing feature flags.

57311.1M53](/packages/laravel-pennant)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[concrete5/core

Concrete core subtree split

19159.3k48](/packages/concrete5-core)

PHPackages © 2026

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