snicco/event-dispatcher

v2.0.0-beta.9 2024-09-07 14:27 UTC

README

codecov Psalm Type-Coverage Psalm level PhpMetrics - Static Analysis PHP-Versions

The EventDispatcher component of the Snicco project provides tools that allow your application components to communicate with each other by dispatching events and listening to them.

Installation

composer require snicco/event-dispatcher

Documentation

The EventDispatcher component is a completely standalone package with zero external dependencies.

The documentation can be found in the README of the BetterWPHooks, which is a small adapter around this package.

If you want to use this package in a non WordPress project simply skip the WordPress specific parts of the documentation.

Contributing

This repository is a read-only split of the development repo of the Snicco project.

This is how you can contribute.

Reporting issues and sending pull requests

Please report issues in the Snicco monorepo.

Security

If you discover a security vulnerability, please follow our disclosure procedure.