PHPackages                             brenoroosevelt/psr-nullcontainer - 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. brenoroosevelt/psr-nullcontainer

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

brenoroosevelt/psr-nullcontainer
================================

Null Object Pattner for PSR-11 Container

1.0.2(2y ago)01.0k1MITPHPPHP ^7.4|^8.0|^8.1

Since Feb 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/brenoroosevelt/psr-nullcontainer)[ Packagist](https://packagist.org/packages/brenoroosevelt/psr-nullcontainer)[ Docs](https://github.com/brenoroosevelt/psr-nullcontainer)[ RSS](/packages/brenoroosevelt-psr-nullcontainer/feed)WikiDiscussions main Synced 1mo ago

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

Null Container
==============

[](#null-container)

[![CI Build](https://github.com/brenoroosevelt/psr-nullcontainer/actions/workflows/ci.yml/badge.svg)](https://github.com/brenoroosevelt/psr-nullcontainer/actions/workflows/ci.yml)[![codecov](https://camo.githubusercontent.com/13de28502aea6777cb16016680959ce6f6fa037cc5c3bac0e67843bc2ccf6373/68747470733a2f2f636f6465636f762e696f2f67682f6272656e6f726f6f736576656c742f7073722d6e756c6c636f6e7461696e65722f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d53315142413138494258)](https://codecov.io/gh/brenoroosevelt/psr-nullcontainer)[![Software License](https://camo.githubusercontent.com/f251623e510f5909f16ae3f4e6e548dac11340b9fde1a99be26b015b39272c00/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c6174)](LICENSE.md)

Null Object Pattern for PSR-11 Container

Requirements
------------

[](#requirements)

The following versions of PHP are supported: `7.4`, `8.0`, `8.1`.

Install
-------

[](#install)

```
$ composer require brenoroosevelt/psr-nullcontainer
```

Usage
-----

[](#usage)

```
$container = new \BrenoRoosevelt\Psr11\NullContainer();
```

License
-------

[](#license)

This project is licensed under the terms of the MIT license. See the [LICENSE](LICENSE.md) file for license rights and limitations.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

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

Total

3

Last Release

974d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/82f73f1c4a1ebcd28bb29e832f0c9cd78a16bd0d57c501157ab2408bdd8817a7?d=identicon)[brenoroosevelt](/maintainers/brenoroosevelt)

---

Top Contributors

[![brenoroosevelt](https://avatars.githubusercontent.com/u/24551532?v=4)](https://github.com/brenoroosevelt "brenoroosevelt (9 commits)")

---

Tags

null-object-patternphppsr-11psr-11-compliantcontainerPSR-11dependency-injectionautowireauto wiringnull object pattern

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/brenoroosevelt-psr-nullcontainer/health.svg)

```
[![Health](https://phpackages.com/badges/brenoroosevelt-psr-nullcontainer/health.svg)](https://phpackages.com/packages/brenoroosevelt-psr-nullcontainer)
```

###  Alternatives

[php-di/php-di

The dependency injection container for humans

2.8k48.9M994](/packages/php-di-php-di)[slince/di

A flexible dependency injection container

20260.4k6](/packages/slince-di)[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)[devanych/di-container

Simple implementation of a PSR-11 dependency injection container

124.2k3](/packages/devanych-di-container)

PHPackages © 2026

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