PHPackages                             cspray/annotated-container-attribute - 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. cspray/annotated-container-attribute

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

cspray/annotated-container-attribute
====================================

Attributes used by Annotated Container, to configure an autowired PSR-11 dependency injection container.

1.3.0(2y ago)05.8k—8.9%1MITPHPPHP ^8.1

Since Feb 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/cspray/annotated-container-attribute)[ Packagist](https://packagist.org/packages/cspray/annotated-container-attribute)[ RSS](/packages/cspray-annotated-container-attribute/feed)WikiDiscussions release-1.x Synced yesterday

READMEChangelog (10)Dependencies (1)Versions (14)Used By (1)

Annotated Container Attribute
=============================

[](#annotated-container-attribute)

Attributes used in [cspray/annotated-container](https://github.com/cspray/annotated-container) to configure an autowired, PSR-11 dependency injection Container. These Attributes are split into a separate repo to allow 3rd party libraries to configure their own services without having to include all of Annotated Container. This allows those libraries to easily integrate with Annotated Container without having to tie the app using their library to a specific dependency injection container.

Installation
------------

[](#installation)

```
composer require cspray/annotated-container-attribute

```

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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 ~62 days

Recently: every ~43 days

Total

11

Last Release

600d ago

Major Versions

1.2.0 → 2.0.0-alpha.12024-03-02

1.3.0 → 2.0.0-alpha.42024-06-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/2abc886f86c3f0b6a1b77879f9e88ce7bb14f5029882e276e92eeb54f2875851?d=identicon)[cspray](/maintainers/cspray)

---

Top Contributors

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

---

Tags

annotated-container

### Embed Badge

![Health badge](/badges/cspray-annotated-container-attribute/health.svg)

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

###  Alternatives

[maclof/kubernetes-client

A simple yet elegant client for accessing and controlling a Kubernetes cluster.

237916.9k5](/packages/maclof-kubernetes-client)[cspray/annotated-container

Create Dependency Injection containers configured with PHP8 Attributes.

421.3k5](/packages/cspray-annotated-container)

PHPackages © 2026

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