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

ActiveLibrary

mistic100/php-hooks
===================

A fork of the WordPress filters hook system rolled in to a class to be ported into any PHP-based system

0.4.0(7y ago)610.5k—0%21GPL-3.0-or-laterPHP

Since Feb 18Pushed 6y ago2 watchersCompare

[ Source](https://github.com/mistic100/PHP-Hooks)[ Packagist](https://packagist.org/packages/mistic100/php-hooks)[ Docs](https://github.com/mistic100/PHP-Hooks/)[ RSS](/packages/mistic100-php-hooks/feed)WikiDiscussions master Synced 1mo ago

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

PHP Hooks &amp; Shortcodes
==========================

[](#php-hooks--shortcodes)

[![PHP version](https://camo.githubusercontent.com/a7a08e40fd6d0e5f18b6bc5709fe03de425bd9548060bdfc34dc0079af39ae40/68747470733a2f2f62616467652e667572792e696f2f70682f6d69737469633130302532467068702d686f6f6b732e737667)](http://badge.fury.io/ph/mistic100%2Fphp-hooks)[![Build Status](https://camo.githubusercontent.com/956d657fb9af314ab938af460c0e61ac038b9df99d5ba329bc08cc3fc0acd777/68747470733a2f2f7472617669732d63692e6f72672f6d69737469633130302f5048502d486f6f6b732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mistic100/PHP-Hooks)[![GitHub Build](https://github.com/mistic100/PHP-Hooks/workflows/PHP%20Composer/badge.svg)](https://github.com/mistic100/PHP-Hooks/workflows/PHP%20Composer/badge.svg)

The WordPress hooks and shortcodes system rolled in two classes to be ported into any php based system.

Installation (composer)
-----------------------

[](#installation-composer)

```
"mistic100/php-hooks": "dev-master"
```

Usage
-----

[](#usage)

### [→ Hooks](https://github.com/mistic100/PHP-Hooks/wiki/Hooks)

[](#-hooks)

### [→ Shortcodes](https://github.com/mistic100/PHP-Hooks/wiki/Shortcodes)

[](#-shortcodes)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

2

Last Release

2656d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/57f5fc656e63b7c6e070e25682e632d2dc1204dd6542fef5def1891b68b0d883?d=identicon)[mistic100](/maintainers/mistic100)

---

Top Contributors

[![mistic100](https://avatars.githubusercontent.com/u/41597?v=4)](https://github.com/mistic100 "mistic100 (25 commits)")[![voku](https://avatars.githubusercontent.com/u/264695?v=4)](https://github.com/voku "voku (11 commits)")[![bainternet](https://avatars.githubusercontent.com/u/660572?v=4)](https://github.com/bainternet "bainternet (10 commits)")[![DavidGoodwin](https://avatars.githubusercontent.com/u/203929?v=4)](https://github.com/DavidGoodwin "DavidGoodwin (5 commits)")[![amereservant](https://avatars.githubusercontent.com/u/238008?v=4)](https://github.com/amereservant "amereservant (1 commits)")[![GaryJones](https://avatars.githubusercontent.com/u/88371?v=4)](https://github.com/GaryJones "GaryJones (1 commits)")

---

Tags

hooksfiltersactions

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mistic100-php-hooks/health.svg)

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

###  Alternatives

[tormjens/eventy

The WordPress filter/action system in Laravel

438912.9k16](/packages/tormjens-eventy)[bainternet/php-hooks

A fork of the WordPress filters hook system rolled in to a class to be ported into any PHP-based system

27621.3k2](/packages/bainternet-php-hooks)[voku/php-hooks

A fork of the WordPress filters hook system rolled in to a class to be ported into any PHP-based system

7637.3k3](/packages/voku-php-hooks)[millat/laravel-hooks

The WordPress filter, action system in Laravel

5715.1k](/packages/millat-laravel-hooks)[x-wp/di

The dependency injection container for WordPress

301.1k10](/packages/x-wp-di)

PHPackages © 2026

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