PHPackages                             lunapress/foundation-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. lunapress/foundation-contracts

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

lunapress/foundation-contracts
==============================

Contracts for lunapress/foundation

030PHP

Since Nov 20Pushed 5mo agoCompare

[ Source](https://github.com/lunapress/foundation-contracts)[ Packagist](https://packagist.org/packages/lunapress/foundation-contracts)[ RSS](/packages/lunapress-foundation-contracts/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

LunaPress Foundation Contracts
==============================

[](#lunapress-foundation-contracts)

The **Foundation Contracts** package defines the *shared architectural interfaces*used across all LunaPress packages and plugins.

It models the common building blocks of a WordPress-based plugin ecosystem — packages, modules, services, and subscribers — without directly calling or relying on WordPress runtime functions.

### Purpose

[](#purpose)

- Acts as the **shared API layer** for all LunaPress packages and plugins.
- Defines a **consistent architectural language** (modules, packages, services, subscribers).
- Enables packages to interoperate within the LunaPress ecosystem without coupling to a specific plugin.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance48

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

 Bus Factor1

Top contributor holds 94.7% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7f618d5c06c711c1eada5b9569aad7cee6d81e830566775e7734dd87828e8fdc?d=identicon)[0zd0](/maintainers/0zd0)

---

Top Contributors

[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (18 commits)")[![0zd0](https://avatars.githubusercontent.com/u/67220210?v=4)](https://github.com/0zd0 "0zd0 (1 commits)")

### Embed Badge

![Health badge](/badges/lunapress-foundation-contracts/health.svg)

```
[![Health](https://phpackages.com/badges/lunapress-foundation-contracts/health.svg)](https://phpackages.com/packages/lunapress-foundation-contracts)
```

###  Alternatives

[phpdocumentor/type-resolver

A PSR-5 based resolver of Class names, Types and Structural Element Names

9.2k719.5M166](/packages/phpdocumentor-type-resolver)[pimple/pimple

Pimple, a simple Dependency Injection Container

2.7k130.5M1.4k](/packages/pimple-pimple)[league/container

A fast and intuitive dependency injection container.

86387.8M342](/packages/league-container)[stella-maris/clock

A pre-release of the proposed PSR-20 Clock-Interface

7947.5M2](/packages/stella-maris-clock)[wptrt/wpthemereview

PHP\_CodeSniffer rules (sniffs) to verify theme compliance with the rules for theme hosting on wordpress.org

217736.5k28](/packages/wptrt-wpthemereview)[inpsyde/modularity

Modular PSR-11 implementation for WordPress plugins, themes or libraries.

54383.3k3](/packages/inpsyde-modularity)

PHPackages © 2026

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