PHPackages                             blueselene/hooks - 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. blueselene/hooks

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

blueselene/hooks
================

A very simple hook library inspired by MediaWiki's (somewhat)

1.0(5mo ago)02MPL-2.0PHPPHP &gt;8.3CI passing

Since Feb 2Pushed 5mo agoCompare

[ Source](https://github.com/redbluegreenhat/hooks)[ Packagist](https://packagist.org/packages/blueselene/hooks)[ RSS](/packages/blueselene-hooks/feed)WikiDiscussions main Synced today

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

BlueSelene Hooks
----------------

[](#blueselene-hooks)

A very simple and easy to use hooks library. You register your hooks, register your hook handlers, and go.

Written mostly for fun (and to have something that is easy to write PHPUnit tests for). MPL-2.0 licensed.

Requires at least PHP 8.3 (because that's the version I use and test with), but otherwise has no dependencies of its own.

### Usage

[](#usage)

An example is probably best here.

```
