PHPackages                             themeplate/enforcer - 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. themeplate/enforcer

ActiveLibrary

themeplate/enforcer
===================

Simple enforcer of plugins per environment type

v1.1.0(1y ago)14GPL-3.0-onlyPHPPHP ^7.4|^8.2

Since May 22Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ThemePlate/Enforcer)[ Packagist](https://packagist.org/packages/themeplate/enforcer)[ RSS](/packages/themeplate-enforcer/feed)WikiDiscussions main Synced 1w ago

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

ThemePlate Enforcer
===================

[](#themeplate-enforcer)

Usage
-----

[](#usage)

```
use ThemePlate\Enforcer;

$enforcer = new Enforcer();

$enforcer->register( 'local', 'query-monitor/query-monitor.php' );
$enforcer->register( 'production', 'wordfence/wordfence.php' );

// or register all in one go
$plugins = array(
	'local' => array(
		'query-monitor/query-monitor.php',
	),
	'production' => array(
		'wordfence/wordfence.php',
	),
);

$enforcer->load( $plugins );

// set up the hooks
add_action( 'init', array( $enforcer, 'init' ) );
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance46

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community7

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

Total

2

Last Release

415d ago

PHP version history (2 changes)v1.0.0PHP ^7.4|^8.0

v1.1.0PHP ^7.4|^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/91095d431958c79a7384d515efec2686ca3cd1e1e1a5a42b680309b8e855355a?d=identicon)[kermage](/maintainers/kermage)

---

Top Contributors

[![kermage](https://avatars.githubusercontent.com/u/8350223?v=4)](https://github.com/kermage "kermage (13 commits)")

---

Tags

wordpresswordpress-plugins

### Embed Badge

![Health badge](/badges/themeplate-enforcer/health.svg)

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

PHPackages © 2026

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