PHPackages                             lucite/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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. lucite/container

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

lucite/container
================

A simple psr-11 container with a few extras bolted on and minimal magic

0.0.2(1y ago)0121MITPHPPHP ^8.0

Since Sep 12Pushed 1y ago1 watchersCompare

[ Source](https://github.com/octoth0rpe/LuciteContainer)[ Packagist](https://packagist.org/packages/lucite/container)[ RSS](/packages/lucite-container/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependencies (3)Versions (3)Used By (1)

Lucite\\Container, a simple psr-11 DI container with a few extras bolted on and minimal magic
=============================================================================================

[](#lucitecontainer-a-simple-psr-11-di-container-with-a-few-extras-bolted-on-and-minimal-magic)

Adding new keys
---------------

[](#adding-new-keys)

There are 3 methods for adding new keys:

- `function add(string $key, mixed $value)`
- `function addConstructor(string $key, callable $constructor)`
- `function addSingleton(string $key, callable $constructor)`

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity36

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

Every ~0 days

Total

2

Last Release

659d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/31517771?v=4)[octoth0rpe](/maintainers/octoth0rpe)[@octoth0rpe](https://github.com/octoth0rpe)

---

Top Contributors

[![octoth0rpe](https://avatars.githubusercontent.com/u/31517771?v=4)](https://github.com/octoth0rpe "octoth0rpe (2 commits)")

---

Tags

containerdependencyinjectiondi

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[league/container

A fast and intuitive dependency injection container.

86894.4M442](/packages/league-container)[capsule/di

A PSR-11 compliant autowiring dependency injection container.

2860.1k2](/packages/capsule-di)[miladrahimi/phpcontainer

Dependency injection (IoC) container for PHP projects

1324.1k2](/packages/miladrahimi-phpcontainer)

PHPackages © 2026

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