PHPackages                             wazfactor/event-manager-for-wp - 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. wazfactor/event-manager-for-wp

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

wazfactor/event-manager-for-wp
==============================

A reusable event management package for WordPress plugins

1.0.0(2y ago)1192GPL-2.0-or-laterPHPPHP ^8.0

Since Dec 2Pushed 2y ago1 watchersCompare

[ Source](https://github.com/fwazeter/EventManagement)[ Packagist](https://packagist.org/packages/wazfactor/event-manager-for-wp)[ Docs](https://wazfactor.com/)[ RSS](/packages/wazfactor-event-manager-for-wp/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

EventManagement
===============

[](#eventmanagement)

Introduction
------------

[](#introduction)

`EventManagement` is a reusable PHP package for managing events in WordPress plugins. It provides a structured and object-oriented approach to handling events, making your plugin development more efficient and maintainable.

Features
--------

[](#features)

- Easy to integrate with WordPress plugins
- Object-oriented approach for clean and maintainable code
- PSR-4 autoloading
- Extendable through interfaces and abstract classes

Requirements
------------

[](#requirements)

- PHP 8.0 or higher
- Composer for managing dependencies

Installation
------------

[](#installation)

Install the package via Composer:

```
composer require wazfactor/event-manager
```

Usage
-----

[](#usage)

Here's a basic example of how to use the EventManagement package in your WordPress plugin:

```
use WazFactor\EventManager\EventManager;
use WazFactor\EventManager\EventManagerSubscriber;

// Initialize the Event Manager
$eventManager = new EventManager();

// Create a subscriber
$subscriber = new EventManagerSubscriber($eventManager);

// Add events and listeners
$subscriber->addEvent('event_name', function() {
    // Event handling logic
});

// Dispatch the event
$eventManager->dispatch('event_name');
```

Advanced Usage
--------------

[](#advanced-usage)

Creating Custom Subscribers:

```
// Implement your custom subscriber class
```

Removing Subscribers:

```
// Example of removing a subscriber
```

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

[](#contributing)

Contributions to the EventManagement package are welcome. Please ensure that your code adheres to the PSR-1/PSR-2 coding standards and includes tests for new features.

License
-------

[](#license)

Include your licensing information here.

Authors
-------

[](#authors)

Frank Wazeter - Initial work - WazFactor

Acknowledgments
---------------

[](#acknowledgments)

Special thanks to the WordPress community Anyone else you'd like to thank

Support
-------

[](#support)

For support, please open an issue on the GitHub repository or contact .

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

889d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

pluginwordpressevent manageraction-hooksfilter hooks

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wazfactor-event-manager-for-wp/health.svg)

```
[![Health](https://phpackages.com/badges/wazfactor-event-manager-for-wp/health.svg)](https://phpackages.com/packages/wazfactor-event-manager-for-wp)
```

###  Alternatives

[afragen/git-updater

A plugin to automatically update GitHub, Bitbucket, GitLab, or Gitea hosted plugins, themes, and language packs.

3.3k1.6k](/packages/afragen-git-updater)[webdevstudios/cmb2-attached-posts

Custom field for CMB2 for creating post relationships.

13565.5k](/packages/webdevstudios-cmb2-attached-posts)[appsero/client

Appsero Client

25431.7k9](/packages/appsero-client)[boxybird/inertia-wordpress

The WordPress adapter for Inertia.js

1827.4k](/packages/boxybird-inertia-wordpress)[iceicetimmy/acf-post-type-selector

Post type selector for Advanced Custom Fields.

559.0k](/packages/iceicetimmy-acf-post-type-selector)[alexis-magina/cmb2-field-post-search-ajax

CMB2 field type to attach posts to each others. Search with Ajax.

3913.4k1](/packages/alexis-magina-cmb2-field-post-search-ajax)

PHPackages © 2026

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