PHPackages                             rmp-up/wp-contracts - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. rmp-up/wp-contracts

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

rmp-up/wp-contracts
===================

1.1.1(5y ago)02.4k—6.7%proprietaryPHPPHP &gt;=7.0 &lt;7.5CI failing

Since Jan 1Pushed 5y agoCompare

[ Source](https://github.com/rmp-up/wp-contracts)[ Packagist](https://packagist.org/packages/rmp-up/wp-contracts)[ RSS](/packages/rmp-up-wp-contracts/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (6)Versions (4)Used By (0)

WordPress contracts
===================

[](#wordpress-contracts)

> Helper for PHP (especially WordPress)

Features
--------

[](#features)

- Rewindable Generators
- Hydrate and exchange protected fields in objects
- [System logger](https://php.net/syslog) compatible logging:
    - Forward to `syslog()`
    - Delegate to [PSR-3 logger](https://www.php-fig.org/psr/psr-3/)
    - Forward to [`error_log()`](https://php.net/function.error-log)respecting configured [error reporting levels](https://php.net/error_reporting)
    - Forward to [WP\_CLI](https://make.wordpress.org/cli/)
    - Append to an [array-like variable/reference](https://www.php.net/class.arrayaccess)
- Message Bus (delegating to WP\_Hook)
    - Decouple exception handling per action/filter
    - Stop propagation

Tested with:

- PHP 7.0 - 7.4
- WordPress &gt;= 4.5

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community6

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

Every ~244 days

Total

3

Last Release

1886d ago

PHP version history (2 changes)1.0.0PHP &gt;=7.0 &lt;=7.4

1.1.1PHP &gt;=7.0 &lt;7.5

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/24290366?v=4)[Pretzlaw](/maintainers/pretzlaw)[@pretzlaw](https://github.com/pretzlaw)

---

Top Contributors

[![pretzlaw](https://avatars.githubusercontent.com/u/24290366?v=4)](https://github.com/pretzlaw "pretzlaw (2 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/rmp-up-wp-contracts/health.svg)

```
[![Health](https://phpackages.com/badges/rmp-up-wp-contracts/health.svg)](https://phpackages.com/packages/rmp-up-wp-contracts)
```

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[symfony/http-kernel

Provides a structured process for converting a Request into a Response

8.1k869.4M8.8k](/packages/symfony-http-kernel)[symfony/cache

Provides extended PSR-6, PSR-16 (and tags) implementations

4.2k373.5M3.3k](/packages/symfony-cache)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

564576.7k52](/packages/ecotone-ecotone)

PHPackages © 2026

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