PHPackages                             freyja/hook - 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. [Search &amp; Filtering](/categories/search)
4. /
5. freyja/hook

AbandonedArchivedLibrary[Search &amp; Filtering](/categories/search)

freyja/hook
===========

A utility to hook callbacks in your code, inspired at WordPress' filters and actions.

v1.0.0(10y ago)01481GPLv2+PHPPHP &gt;=5.3.9

Since Mar 2Pushed 10y ago1 watchersCompare

[ Source](https://github.com/SqueezyWeb/Hook)[ Packagist](https://packagist.org/packages/freyja/hook)[ RSS](/packages/freyja-hook/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (7)Versions (3)Used By (1)

Hook
====

[](#hook)

A utility to hook callbacks in your code, inspired at WordPress' filters and actions.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

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

3726d ago

### Community

Maintainers

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

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

---

Top Contributors

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

---

Tags

phpfilterHOOKcallbacksactionfreyja

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/freyja-hook/health.svg)

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

###  Alternatives

[millat/laravel-hooks

The WordPress filter, action system in Laravel

5715.1k](/packages/millat-laravel-hooks)

PHPackages © 2026

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