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(8y 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 4w 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 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

2944d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7488657?v=4)[James Parker](/maintainers/jamseyp)[@jamseyp](https://github.com/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

[laravel/framework

The Laravel Framework.

34.9k556.2M21.3k](/packages/laravel-framework)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k52.2M371](/packages/api-platform-core)[moonshine/moonshine

Laravel administration panel

1.3k268.2k88](/packages/moonshine-moonshine)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6943.5M448](/packages/drupal-core-recommended)[spatie/flare-client-php

Send PHP errors to Flare

178166.2M24](/packages/spatie-flare-client-php)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)

PHPackages © 2026

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