Ross ROSS = Recommend OSS · open-source software intelligence for agents

symfony/dependency-injection

Allows you to standardize and centralize the way objects are constructed in your application observed · 2026-08-28

github.com/symfony/dependency-injection · homepage · PHP · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

95/100

  • Activity 99
  • Release rhythm 87
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 0
  • age_days: 5671
  • days_rel: 11
  • days_push: 11
  • n_releases_24m: 86

Full methodology

Adoption not part of the score

4166 stars · 93 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

The Symfony DependencyInjection component is a PHP library implementing a service container (dependency injection container) that standardizes and centralizes how objects are constructed and wired together in an application. It supports autowiring, configuration files, container compilation, and can be used standalone or as part of the Symfony framework.

Use cases

  • manage object construction and wiring in a PHP application
  • set up a dependency injection container in PHP
  • autowire services in a Symfony project
  • decouple classes by injecting dependencies instead of creating them
  • configure services with YAML/XML/PHP config files
  • use a DI container in a standalone PHP app without the full framework

When to choose

  • you're building a Symfony application or using Symfony components
  • you want a mature, battle-tested DI container with autowiring and compilation
  • you need testable, decoupled service architecture in PHP
  • you want a container usable outside any framework

When to avoid

  • you're working in a language other than PHP
  • your project is small enough that manual construction is simpler
  • you need a full application framework rather than just a container component

Facets

library · maturity stable

middleware configuration-management developer-tools backend web-development developer-tools php cross-platform dependency-injection service-container symfony-component autowiring ioc-container php

7 sources

Member repositories

RepositoryRoleHealth v2
symfony/dependency-injectionmain95

For agents

markdown · JSON · MCP: product_card(name="symfony/dependency-injection")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem