PHPackages                             thewebsolver/container - 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. thewebsolver/container

ActiveLibrary

thewebsolver/container
======================

A simple container for Dependency Injection and Auto-wiring

03PHP

Since Apr 11Pushed 1y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Welcome
-------

[](#welcome)

TheWebSolver Container is a PowerPack Dependency Injection and Auto-wiring solution that implements [PSR-11](https://www.php-fig.org/psr/psr-11/) Standards.

Installation (via Composer)
---------------------------

[](#installation-via-composer)

Install library using composer command:

```
$ composer require thewebsolver/container
```

Benefits
--------

[](#benefits)

- **Contextual binding:** Provide abstract dependencies based on concrete entry.
- **[PSR-14 Events](https://www.php-fig.org/psr/psr-14/):** Dispatch and Listen to events *before*, *during* or *after* resolving the entry.
- **Aliasing:** Container binding using an alias for a concrete classname, or even binding arbitrary value using lambda function.

Usage
-----

[](#usage)

For usage details, visit [Wiki page](https://github.com/TheWebSolver/container/wiki).

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity15

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6921441544aa2b10de561f0bc8a785365ed6932f709ead6a6f31d7e2290e4c8c?d=identicon)[hsehszroc](/maintainers/hsehszroc)

---

Top Contributors

[![hsehszroc](https://avatars.githubusercontent.com/u/48177731?v=4)](https://github.com/hsehszroc "hsehszroc (217 commits)")

---

Tags

auto-wireauto-wiringcontainerdependency-injectionlibrarypsr-11psr-11-compliant

### Embed Badge

![Health badge](/badges/thewebsolver-container/health.svg)

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

PHPackages © 2026

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