PHPackages                             onepix/psr11-container-interface-generic - 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. onepix/psr11-container-interface-generic

ActiveLibrary

onepix/psr11-container-interface-generic
========================================

A generic, type-safe container interface (PSR-compatible) with support for retrieving items of a specified type

1.0.0(1y ago)01351MITPHP

Since Jan 19Pushed 1y agoCompare

[ Source](https://github.com/onepixnet/psr11-container-interface-generic)[ Packagist](https://packagist.org/packages/onepix/psr11-container-interface-generic)[ Docs](https://github.com/onepixnet/psr11-container-interface-generic)[ RSS](/packages/onepix-psr11-container-interface-generic/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (1)

PSR-11 Container interface generic (psalm phpstan)
==================================================

[](#psr-11-container-interface-generic-psalm-phpstan)

Config
------

[](#config)

```

```

Usage
-----

[](#usage)

```
final class App
{
     /**
     * @param  ContainerInterface  $controllers
     */
    public function __construct(
        private ContainerInterface $controllers,
    ) {
    }
}
```

```
/**
 * @implements ContainerInterface
 */
final class ControllerContainer implements ContainerInterface
{
    public function get(string $id) {}

    public function has(string $id): bool {}
}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance42

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

477d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/380c3a3697647ffa6dacfa3f41ef2d8ea43a40a12a823d380b843b57ac14750c?d=identicon)[onepix](/maintainers/onepix)

---

Top Contributors

[![Daniel217D](https://avatars.githubusercontent.com/u/26818342?v=4)](https://github.com/Daniel217D "Daniel217D (1 commits)")

---

Tags

PHPStanstatic analysispsalm

### Embed Badge

![Health badge](/badges/onepix-psr11-container-interface-generic/health.svg)

```
[![Health](https://phpackages.com/badges/onepix-psr11-container-interface-generic/health.svg)](https://phpackages.com/packages/onepix-psr11-container-interface-generic)
```

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k43.5M5.2k](/packages/larastan-larastan)[szepeviktor/phpstan-wordpress

WordPress extensions for PHPStan

3257.8M898](/packages/szepeviktor-phpstan-wordpress)[ekino/phpstan-banned-code

Detected banned code using PHPStan

2925.6M92](/packages/ekino-phpstan-banned-code)[php-stubs/wordpress-stubs

WordPress function and class declaration stubs for static analysis.

19013.0M263](/packages/php-stubs-wordpress-stubs)[shipmonk/dead-code-detector

Dead code detector to find unused PHP code via PHPStan extension. Can automatically remove dead PHP code. Supports libraries like Symfony, Doctrine, PHPUnit etc. Detects dead cycles. Can detect dead code that is tested.

3462.2M52](/packages/shipmonk-dead-code-detector)[staabm/phpstan-todo-by

1991.8M55](/packages/staabm-phpstan-todo-by)

PHPackages © 2026

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