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

Abandoned → [brain/monkey](/?search=brain%2Fmonkey)Library[Utility &amp; Helpers](/categories/utility)

brain/hooks-mock
================

A mocking class utility for WordPress hooks

1.1.1(11y ago)66712MITPHPPHP &gt;=5.4

Since May 15Pushed 11y ago1 watchersCompare

[ Source](https://github.com/gmazzap/HooksMock)[ Packagist](https://packagist.org/packages/brain/hooks-mock)[ RSS](/packages/brain-hooks-mock/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (6)Used By (2)

HooksMock
=========

[](#hooksmock)

[![travis-ci](https://camo.githubusercontent.com/42f7525d799310831f7b4883f8f7160337e71340c56c02994c04af469a05025a/68747470733a2f2f7472617669732d63692e6f72672f47697573657070652d4d617a7a61706963612f486f6f6b734d6f636b2e737667)](https://camo.githubusercontent.com/42f7525d799310831f7b4883f8f7160337e71340c56c02994c04af469a05025a/68747470733a2f2f7472617669732d63692e6f72672f47697573657070652d4d617a7a61706963612f486f6f6b734d6f636b2e737667)

A mocking class utility for WordPress hooks.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity62

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 ~102 days

Total

4

Last Release

4077d ago

Major Versions

0.1.0 → 1.0.02015-03-18

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2208282?v=4)[Giuseppe Mazzapica](/maintainers/gmazzap)[@gmazzap](https://github.com/gmazzap)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/brain-hooks-mock/health.svg)

```
[![Health](https://phpackages.com/badges/brain-hooks-mock/health.svg)](https://phpackages.com/packages/brain-hooks-mock)
```

###  Alternatives

[ramsey/devtools

A Composer plugin to aid PHP library and application development.

7134.7k26](/packages/ramsey-devtools)[jimbojsb/workman

PHP process forking &amp; daemonizing library

608.8k](/packages/jimbojsb-workman)

PHPackages © 2026

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