PHPackages                             inpsyde/modularity - 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. inpsyde/modularity

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

inpsyde/modularity
==================

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

1.12.0(1y ago)54383.3k↑19.3%3[3 PRs](https://github.com/inpsyde/modularity/pulls)3GPL-2.0-or-laterPHPPHP &gt;=7.4CI passing

Since Apr 30Pushed 1y ago6 watchersCompare

[ Source](https://github.com/inpsyde/modularity)[ Packagist](https://packagist.org/packages/inpsyde/modularity)[ RSS](/packages/inpsyde-modularity/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (11)Versions (23)Used By (3)

Inpsyde Modularity
==================

[](#inpsyde-modularity)

[![Version](https://camo.githubusercontent.com/42fa1125fddd8c56d3b8a1a3d97bc785759caea5718b093c48e17060d86f5b4d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696e70737964652f6d6f64756c61726974792e737667)](https://packagist.org/packages/inpsyde/modularity)[![Status](https://camo.githubusercontent.com/0516d1b16221bb9cbc5f57f91e1f235b1b6aaee353113f6d168996f670c9a75d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7374617475732d6163746976652d627269676874677265656e2e737667)](https://github.com/inpsyde/modularity)[![codecov](https://camo.githubusercontent.com/e1dae4c321f81a58035f130eee510c367e697d76e20284b97b23bb863b95d585/68747470733a2f2f636f6465636f762e696f2f67682f696e70737964652f6d6f64756c61726974792f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/inpsyde/modularity)[![Downloads](https://camo.githubusercontent.com/e7c7c99322e1ee4f25ea861c7cb0b3760d8df1fab974ebbebb8fdc395977081a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696e70737964652f6d6f64756c61726974792e737667)](https://packagist.org/packages/inpsyde/modularity)[![License](https://camo.githubusercontent.com/deacc009dfb82f3ad71a68590141f5d6afd03371e4d1fbbcf66aa367182b4d09/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f696e70737964652f6d6f64756c61726974792e737667)](https://packagist.org/packages/inpsyde/modularity)

Introduction
------------

[](#introduction)

inpsyde/modularity is a modular [PSR-11](https://github.com/php-fig/container) implementation for WordPress Plugins, Themes or Libraries.

Installation
------------

[](#installation)

```
composer require inpsyde/modularity
```

Minimum Requirements and Dependencies
-------------------------------------

[](#minimum-requirements-and-dependencies)

- PHP 7.4+

When installed for development via Composer, the package also requires:

- inpsyde/php-coding-standards
- roots/wordpress
- phpstan/phpstan
- phpunit/phpunit
- brain/monkey
- mikey179/vfsstream

Documentation
-------------

[](#documentation)

1. [Package](docs/Package.md)
2. [PSR-11 Container](docs/PSR-11-Container.md)
3. [Modules](docs/Modules.md)
4. [Properties](docs/Properties.md)
5. [Application Flow](docs/Application-flow.md)

Copyright and License
---------------------

[](#copyright-and-license)

This package is [free software](https://www.gnu.org/philosophy/free-sw.en.html) distributed under the terms of the GNU General Public License version 2 or (at your option) any later version. For the full license, see [LICENSE](./LICENSE).

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance49

Moderate activity, may be stable

Popularity47

Moderate usage in the ecosystem

Community28

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Recently: every ~90 days

Total

19

Last Release

374d ago

PHP version history (3 changes)1.0.0PHP &gt;=7.2

1.9.0PHP &gt;=7.4 &lt;8.4

1.12.0PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/572cb5d91b21cc9879823e849607ffe88365365391d5fd01ee4efb6a3c24df1f?d=identicon)[Chrico](/maintainers/Chrico)

![](https://www.gravatar.com/avatar/0fa321f6c73e14c16d4aea0276673ce1e5d001e49062e32f3b8dc91f0ed10c1e?d=identicon)[bueltge](/maintainers/bueltge)

---

Top Contributors

[![Chrico](https://avatars.githubusercontent.com/u/3417446?v=4)](https://github.com/Chrico "Chrico (106 commits)")[![gmazzap](https://avatars.githubusercontent.com/u/2208282?v=4)](https://github.com/gmazzap "gmazzap (61 commits)")[![tfrommen](https://avatars.githubusercontent.com/u/6049306?v=4)](https://github.com/tfrommen "tfrommen (27 commits)")[![Biont](https://avatars.githubusercontent.com/u/4208996?v=4)](https://github.com/Biont "Biont (7 commits)")[![pablok34](https://avatars.githubusercontent.com/u/7033425?v=4)](https://github.com/pablok34 "pablok34 (5 commits)")[![widoz](https://avatars.githubusercontent.com/u/1917784?v=4)](https://github.com/widoz "widoz (3 commits)")[![meszarosrob](https://avatars.githubusercontent.com/u/6097856?v=4)](https://github.com/meszarosrob "meszarosrob (2 commits)")[![shvlv](https://avatars.githubusercontent.com/u/3157352?v=4)](https://github.com/shvlv "shvlv (2 commits)")[![tyrann0us](https://avatars.githubusercontent.com/u/8144115?v=4)](https://github.com/tyrann0us "tyrann0us (2 commits)")[![nullbytes](https://avatars.githubusercontent.com/u/520806?v=4)](https://github.com/nullbytes "nullbytes (1 commits)")[![bueltge](https://avatars.githubusercontent.com/u/133425?v=4)](https://github.com/bueltge "bueltge (1 commits)")[![esurov](https://avatars.githubusercontent.com/u/1679357?v=4)](https://github.com/esurov "esurov (1 commits)")[![InpsydeNiklas](https://avatars.githubusercontent.com/u/70433191?v=4)](https://github.com/InpsydeNiklas "InpsydeNiklas (1 commits)")[![AlexP11223](https://avatars.githubusercontent.com/u/5680466?v=4)](https://github.com/AlexP11223 "AlexP11223 (1 commits)")[![o-samaras](https://avatars.githubusercontent.com/u/66624212?v=4)](https://github.com/o-samaras "o-samaras (1 commits)")[![overclokk](https://avatars.githubusercontent.com/u/4604932?v=4)](https://github.com/overclokk "overclokk (1 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (1 commits)")

---

Tags

hacktoberfestpsr-11wordpresswordpress-librarywordpress-pluginwordpress-theme

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/inpsyde-modularity/health.svg)

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

###  Alternatives

[pimple/pimple

Pimple, a simple Dependency Injection Container

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

A fast and intuitive dependency injection container.

86787.8M343](/packages/league-container)[lctrs/psalm-psr-container-plugin

Let Psalm understand better psr11 containers

17648.1k13](/packages/lctrs-psalm-psr-container-plugin)[phpwatch/simple-container

A fast and minimal PSR-11 compatible Dependency Injection Container with array-syntax and without auto-wiring

1810.1k2](/packages/phpwatch-simple-container)

PHPackages © 2026

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