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

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

moxy/event
==========

A simple event emitter

1.0.0(11y ago)028MITPHPPHP &gt;=5.5.0

Since Mar 2Pushed 11y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (2)Used By (0)

Moxy\\Event
===========

[](#moxyevent)

[![Build Status](https://camo.githubusercontent.com/1603a99f65a23a3c9cac810ba9646b6441bbfcea45de4e67d647e0bda7cda87e/68747470733a2f2f7472617669732d63692e6f72672f6765746d6f78792f6576656e742e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/getmoxy/event)[![Code Coverage](https://camo.githubusercontent.com/18261df2aee128994a5f31cb54e20ab54c573ebeffe726e3dbac1ef341fb8f59/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6765746d6f78792f6576656e742f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/getmoxy/event)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/ef95a482b612b14bb76603141a174a40e937d6a5f88c4feccc72508ae533811d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6765746d6f78792f6576656e742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/getmoxy/event/?branch=master)

Mozy is a suite of loosely linked libraries for achieving "things" in PHP. Moxy\\Event is Moxy's take on the classic mediater/event pattern.

Moxy\\Event is designed as a mediator event library; all event emitters inherit from a central class which mediates events and listeners. You can implement the \\Moxy\\Event\\Listener interface, or simply pass in any PHP callable.

Installation
============

[](#installation)

```
$ composer require moxy/event:dev-master

```

Yet Another Event Library
=========================

[](#yet-another-event-library)

Moxy as a collection is intended to be flexible; use only the bits you need, or merely a single library you really like. Moxy/Event is one part of the glue that binds the libraries together. For example, Moxy\\Router issues a router.404 event in the case it is unable to do anything with a request; which allows you to create a 404 error handler.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

4095d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2aa96643c7a457f0e3e56299b3da3efc111836e2dd1a2e83bc33a2d620baef0b?d=identicon)[errant](/maintainers/errant)

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[bolt/newswidget

📰 A simple Widget Extension to display the latest Bolt news on the dashboard.

13170.5k3](/packages/bolt-newswidget)

PHPackages © 2026

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