NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #152 most downloaded on Packagist
Allows you to standardize and centralize the way objects are constructed in your application
Last release 6 days ago
29 Sep 2026
Ships fairly regularly
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
774 releases · first in 2011
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.
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 ServiceSubscriberInterface, use the same interface from the Symfony\Contracts\Service namespace instead
ContainerBuilder::registerAliasForArgument() to support autowiring by type+nameServiceSubscriberTrait to ease implementing ServiceSubscriberInterface using methods' return typesServiceLocatorArgument and !service_locator config tag for creating optimized service-locators%env(key:...)% processor to fetch a specific key from an arrayServiceSubscriberInterface, use the same interface from the Symfony\Contracts\Service namespace insteadResettableContainerInterface, use Symfony\Contracts\Service\ResetInterface 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
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 the TypedReference::canBeAutoregistered() and TypedReference::getRequiringClass() methods
ContainerBagInterface and its ContainerBag implementation to access parameters as-a-serviceTypedReference::canBeAutoregistered() and TypedReference::getRequiringClass() methodsConfigurationInterfaceNothing 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
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
Your coding agent can read these notes before it upgrades. Set up the MCP server →