PHPackages                             specter/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. specter/container

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

specter/container
=================

A very simple container implementation

1.0.0(7y ago)14MITPHPPHP &gt;=7.0

Since Jul 24Pushed 7y ago1 watchersCompare

[ Source](https://github.com/jamseyp/container)[ Packagist](https://packagist.org/packages/specter/container)[ RSS](/packages/specter-container/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/98f8ecdf34d843ef64822903c2625bf3ada6f61f26c8e697d62c3042907dbb0a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a616d736579702f636f6e7461696e65722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/jamseyp/container/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/1378d967113833bde850c3734cdff25e3127eb1b4e25bc675a03e50901f1a1f4/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a616d736579702f636f6e7461696e65722f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/jamseyp/container/?branch=master)[![Build Status](https://camo.githubusercontent.com/3fee2f8cc79a7a9cd505a7925ad751eee8fbba13eeecea1352b4d1cfc1f2b604/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a616d736579702f636f6e7461696e65722f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/jamseyp/container/build-status/master)[![Code Intelligence Status](https://camo.githubusercontent.com/9d1a9b097e4b5be7990dc158b8cce9ae69a601060abad806b12d10e662f5b438/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a616d736579702f636f6e7461696e65722f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence)

Specter Container.

A simple implmentation of a PSR-11 Container.

Usage:

```
$container = new Container();

$container->set('foo',new DateTime());

if($container->has('foo'){
    $today = $container->get('foo')
}
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 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

2852d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/acbcac01c31e6cb13f75369f8ec345b7974cf18eb4e08a4b1ef2fa8b795b78b8?d=identicon)[jamseyp](/maintainers/jamseyp)

---

Top Contributors

[![jamseyp](https://avatars.githubusercontent.com/u/7488657?v=4)](https://github.com/jamseyp "jamseyp (7 commits)")

---

Tags

containerphpphp-figphp7psr-11

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[ecotone/ecotone

Supporting you in building DDD, CQRS, Event Sourcing applications with ease.

558549.8k17](/packages/ecotone-ecotone)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[illuminate/cookie

The Illuminate Cookie package.

224.3M122](/packages/illuminate-cookie)[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[symfony/object-mapper

Provides a way to map an object to another object

34885.7k18](/packages/symfony-object-mapper)[netgen/content-browser

Netgen Content Browser is a Symfony bundle that provides an interface which selects items from any kind of backend and returns the IDs of selected items back to the calling code.

14112.1k8](/packages/netgen-content-browser)

PHPackages © 2026

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