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 2w 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

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

2899d 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.8k543.8M19.5k](/packages/laravel-framework)[api-platform/core

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

2.6k50.1M315](/packages/api-platform-core)[symfony/dependency-injection

Allows you to standardize and centralize the way objects are constructed in your application

4.2k447.1M9.1k](/packages/symfony-dependency-injection)[illuminate/contracts

The Illuminate Contracts package.

713130.3M12.7k](/packages/illuminate-contracts)[moonshine/moonshine

Laravel administration panel

1.3k239.9k76](/packages/moonshine-moonshine)[spatie/flare-client-php

Send PHP errors to Flare

177156.9M21](/packages/spatie-flare-client-php)

PHPackages © 2026

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