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(1y ago)05.6k↑16.7%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 1mo ago

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

35

—

LowBetter than 80% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

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

554d 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

[league/container

A fast and intuitive dependency injection container.

86787.8M343](/packages/league-container)[stella-maris/clock

A pre-release of the proposed PSR-20 Clock-Interface

7947.5M2](/packages/stella-maris-clock)[wptrt/wpthemereview

PHP\_CodeSniffer rules (sniffs) to verify theme compliance with the rules for theme hosting on wordpress.org

217736.5k29](/packages/wptrt-wpthemereview)[inpsyde/modularity

Modular PSR-11 implementation for WordPress plugins, themes or libraries.

54383.3k3](/packages/inpsyde-modularity)[php-standard-library/phpstan-extension

PHPStan PSL extension

201.2M13](/packages/php-standard-library-phpstan-extension)[elie29/zend-phpdi-config

PSR-11 PHP-DI autowire container configurator for Laminas, Mezzio, ZF2, ZF3 and Zend Expressive applications

20238.6k7](/packages/elie29-zend-phpdi-config)

PHPackages © 2026

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