NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #165 most downloaded on Packagist
Allows you to standardize and centralize the way objects are constructed in your application
Latest stable
v8.1.11
Last release 9 days ago
13 Nov 2026
Ships on a steady schedule
a new release about every 2 weeks
No release notes found
nothing matched a version
Nothing withdrawn
no release was ever pulled
15 years old
784 releases · first in 2011
Drag across the ruler to compare, or tap a release to open it.
Relying on service auto-registration while autowiring is not supported anymore. Explicitly inject your dependencies or create services whose ids are t
Relying on service auto-registration while autowiring is not supported anymore. Explicitly inject your dependencies or create services whose ids are their fully-qualified class name.
Before:
namespace App\Controller;
use App\Mailer;
class DefaultController
{
public function __construct(Mailer $mailer) {
// ...
}
// ...
}
services:
App\Controller\DefaultController:
autowire: true
After:
// same PHP code
services:
App\Controller\DefaultController:
autowire: true
# or
# App\Controller\DefaultController:
# arguments: { $mailer: "@App\Mailer" }
App\Mailer:
autowire: true
removed autowiring services based on the types they implement
added a third $methodName argument to the getProxyFactoryCode() method
of the DumperInterface
removed support for autowiring types
removed Container::isFrozen
removed support for dumping an ucompiled container in PhpDumper
removed support for generating a dumped Container without populating the method map
removed support for case insensitive service identifiers
removed the DefinitionDecorator class, replaced by ChildDefinition
removed the AutowireServiceResource class and related AutowirePass::createResourceForClass() method
removed LoggingFormatter, Compiler::getLoggingFormatter() and addLogMessage() class and methods, use the ContainerBuilder::log() method instead
removed FactoryReturnTypePass
removed ContainerBuilder::addClassResource(), use the addObjectResource() or the getReflectionClass() method instead.
removed support for top-level anonymous services
removed silent behavior for unused attributes and elements
removed support for setting and accessing private services in Container
removed support for setting pre-defined services in Container
removed support for case insensitivity of parameter names
removed AutowireExceptionPass and AutowirePass::getAutowiringExceptions(), use Definition::addError() and the DefinitionErrorExceptionPass instead
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
deprecated "public-by-default" definitions and aliases, the new default will be "private" in 4.0
ExtensionCompilerPass to before-optimization passes with priority -1000EnvVarProcessorInterface and corresponding "container.env_var_processor" tag for processing env varsContainer::initialized() methodResolveDefinitionTemplatesPass class in favor of ResolveChildDefinitionsPassTaggedIteratorArgument with YAML (!tagged foo) and XML (<service type="tagged"/>) supportAutowireExceptionPass and AutowirePass::getAutowiringExceptions(), use Definition::addError() and the DefinitionErrorExceptionPass insteadNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
One column per quarter.