symfony/dependency-injection
Allows you to standardize and centralize the way objects are constructed in your application
v8.1.5
472M downloads/mo
#145 most downloaded on composer
symfony/dependency-injection
What this package is like to depend on
Last release 2 days ago
21 Aug 2026
Ships fairly regularly
a new release about every 3 weeks
Rarely documented
notes for 29 of 663 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
770 releases · first in 2011
66 releases in the last 12 months
see the full history below
Release timeline
692 releases · Sep 2011 to Aug 2026Releases
latest 60 of 770-
v8.1.521 Aug 2026Release notes
Open source →Changelog (v8.1.4...v8.1.5)
- bug #65532 Keep escaping when resolving values against a resolved parameter bag (@nicolas-grekas)
- bug #65474 Fix compiling nested service locators (@nicolas-grekas)
- bug #65473 Fix sorting tagged services when autoconfiguration duplicates a tag (@nicolas-grekas)
- bug #65542 Detect circular references through a shared factory builder (@nicolas-grekas)
- bug #65441 Skip abstract classes and interfaces in findTaggedResourceIds() (@nicolas-grekas)
- bug #65367 Fix PHP 8.6 deprecations (@nicolas-grekas)
- bug #65271 Fix circular references through expressions (@eissasoubhi)
- bug #65250 Fix class-level tag attributes being overridden by interface-level ones (@nicolas-grekas)
-
v8.1.407 Aug 2026Release notes
Open source →Changelog (v8.1.2...v8.1.4)
- bug #65172 Don't keep partially-configured shared services when their setup fails (@javiereguiluz)
- bug #65149 Resolve factories on "service_container" against the concrete container class (@lazerg)
- bug #65133 Fix ParameterBag::clear() leaving stale deprecations and resolution state (@javiereguiluz)
- bug #65120 Fix
#being processed twice for PSR-4-discovered abstract types (@javiereguiluz) - bug #65113 Fix instantiating a lazy proxy for an inline definition (@nicolas-grekas)
- bug #65112 Fix misleading error messages for invalid "proxy" tags (@nicolas-grekas)
- bug #65111 Fix generating one proxy class per set of "proxy" tags (@nicolas-grekas)
- bug #65109 Honor the interface passed to # (@nicolas-grekas)
-
v8.1.228 Jul 2026Release notes
Open source →Changelog (v8.1.1...v8.1.2)
- bug #64999 Restore reading "container.behavior_describing_tags" in DecoratorServicePass (@nicolas-grekas)
- bug #64708 Fix lazy + factory service with a leading-backslash class on PHP 8.4 (@Amoifr)
- bug #64828 Add supported literal option
not_foundforimports..ignore_errorsinservices.schemaandAppReference(@kaznovac) - bug #64668 Fix env var reported as never used for a removed autowired service (@eyupcanakman)
-
v8.1.127 Jun 2026Release notes
Open source →Changelog (v8.1.0...v8.1.1)
- minor #64694 Fix service _instanceof type (@philbates35)
- minor #64629 Fix deprecation when handling tagged iterator YAML short syntax (@MatTheCat)
- bug #64572 Fix decorating an event listener no longer replacing it (@nicolas-grekas)
- minor #64476 Unsafe unserialize phpstan rule (@jack-worman)
- bug #64523 Keep behavior-describing tags 'proxy' and 'container.service_subscriber.locator' on decorated services (@ousamabenyounes)
- minor #64417 Improve TaggedIteratorArgument deprecation warning (@jbafford)
- minor #64416 Clarify # attribute in UPGRADE-8.1 (@jbafford)
-
v8.1.029 May 2026Nothing published for this version
-
v8.1.0-RC123 May 2026 pre-releaseNothing published for this version
-
v8.1.0-BETA319 May 2026 pre-releaseNothing published for this version
-
v8.1.0-BETA106 May 2026 pre-releaseNothing published for this version
-
v8.0.1522 Jul 2026Release notes
Open source →Changelog (v8.0.14...v8.0.15)
- bug #64708 Fix lazy + factory service with a leading-backslash class on PHP 8.4 (@Amoifr)
- bug #64828 Add supported literal option
not_foundforimports..ignore_errorsinservices.schemaandAppReference(@kaznovac) - bug #64668 Fix env var reported as never used for a removed autowired service (@eyupcanakman)
-
v8.0.1427 Jun 2026Nothing published for this version
-
v8.0.1323 May 2026Nothing published for this version
-
v8.0.1006 May 2026Nothing published for this version
-
v8.0.930 Apr 2026Nothing published for this version
-
v8.0.831 Mar 2026Nothing published for this version
-
v8.0.703 Mar 2026Nothing published for this version
-
v8.0.625 Feb 2026Nothing published for this version
-
v8.0.527 Jan 2026Nothing published for this version
-
v8.0.423 Jan 2026Nothing published for this version
-
v8.0.323 Dec 2025Nothing published for this version
-
v8.0.208 Dec 2025Nothing published for this version
-
v8.0.107 Dec 2025Nothing published for this version
-
v8.0.027 Nov 2025Nothing published for this version
-
v8.0.0-RC320 Nov 2025 pre-releaseNothing published for this version
-
v8.0.0-RC214 Nov 2025 pre-releaseNothing published for this version
-
v8.0.0-RC112 Nov 2025 pre-releaseNothing published for this version
-
v8.0.0-BETA201 Nov 2025 pre-releaseNothing published for this version
-
v8.0.0-BETA123 Oct 2025 pre-releaseNothing published for this version
-
v7.4.1721 Aug 2026Release notes
Open source →Changelog (v7.4.16...v7.4.17)
- bug #65532 Keep escaping when resolving values against a resolved parameter bag (@nicolas-grekas)
- bug #65474 Fix compiling nested service locators (@nicolas-grekas)
- bug #65473 Fix sorting tagged services when autoconfiguration duplicates a tag (@nicolas-grekas)
- bug #65542 Detect circular references through a shared factory builder (@nicolas-grekas)
- bug #65441 Skip abstract classes and interfaces in findTaggedResourceIds() (@nicolas-grekas)
- bug #65367 Fix PHP 8.6 deprecations (@nicolas-grekas)
- bug #65271 Fix circular references through expressions (@eissasoubhi)
- bug #65250 Fix class-level tag attributes being overridden by interface-level ones (@nicolas-grekas)
-
v7.4.1606 Aug 2026Release notes
Open source →Changelog (v7.4.15...v7.4.16)
- bug #65172 Don't keep partially-configured shared services when their setup fails (@javiereguiluz)
- bug #65133 Fix ParameterBag::clear() leaving stale deprecations and resolution state (@javiereguiluz)
- bug #65120 Fix
#being processed twice for PSR-4-discovered abstract types (@javiereguiluz) - bug #65113 Fix instantiating a lazy proxy for an inline definition (@nicolas-grekas)
- bug #65112 Fix misleading error messages for invalid "proxy" tags (@nicolas-grekas)
- bug #65111 Fix generating one proxy class per set of "proxy" tags (@nicolas-grekas)
- bug #65109 Honor the interface passed to # (@nicolas-grekas)
-
v7.4.1522 Jul 2026Release notes
Open source →Changelog (v7.4.14...v7.4.15)
- bug #64708 Fix lazy + factory service with a leading-backslash class on PHP 8.4 (@Amoifr)
- bug #64828 Add supported literal option
not_foundforimports..ignore_errorsinservices.schemaandAppReference(@kaznovac) - bug #64668 Fix env var reported as never used for a removed autowired service (@eyupcanakman)
-
v7.4.1424 Jun 2026Nothing published for this version
-
v7.4.1320 May 2026Nothing published for this version
-
v7.4.1006 May 2026Nothing published for this version
-
v7.4.930 Apr 2026Nothing published for this version
-
v7.4.831 Mar 2026Nothing published for this version
-
v7.4.703 Mar 2026Nothing published for this version
-
v7.4.625 Feb 2026Nothing published for this version
-
v7.4.527 Jan 2026Nothing published for this version
-
v7.4.423 Jan 2026Nothing published for this version
-
v7.4.328 Dec 2025Nothing published for this version
-
v7.4.208 Dec 2025Nothing published for this version
-
v7.4.107 Dec 2025Nothing published for this version
-
v7.4.027 Nov 2025Nothing published for this version
-
v7.4.0-RC320 Nov 2025 pre-releaseNothing published for this version
-
v7.4.0-RC214 Nov 2025 pre-releaseNothing published for this version
-
v7.4.0-RC112 Nov 2025 pre-releaseNothing published for this version
-
v7.4.0-BETA201 Nov 2025 pre-releaseNothing published for this version
-
v7.4.0-BETA126 Oct 2025 pre-releaseNothing published for this version
-
v7.3.1127 Jan 2026Nothing published for this version
-
v7.3.1023 Jan 2026Nothing published for this version
-
v7.3.928 Dec 2025Nothing published for this version
-
v7.3.807 Dec 2025Nothing published for this version
-
v7.3.631 Oct 2025Nothing published for this version
-
v7.3.411 Sep 2025Nothing published for this version
-
v7.3.314 Aug 2025Nothing published for this version
-
v7.3.230 Jul 2025Nothing published for this version
-
v7.3.124 Jun 2025Nothing published for this version
-
v7.3.019 May 2025Nothing published for this version
-
v7.3.0-RC1no date pre-releaseNothing published for this version
-
v7.3.0-BETA209 May 2025 pre-releaseNothing published for this version