---
title: "symfony/config v8.0.0 Breaking Changes on Packagist"
description: "What each symfony/config release removed, renamed or changed: 175 breaking changes in 5 versions on Packagist, each with its source."
canonical_url: https://since.dev/packages/packagist/symfony/config
last_updated: 2026-12-04
---

# symfony/config breaking changes

symfony/config v8.0.0 (November 27, 2025) is its newest release with breaking changes, 7 of them. The first: Removed Symfony\\Component\\Config\\Builder\\ConfigBuilderGenerator. Every breaking API change we have recorded in symfony/config on Packagist: 175 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `v8.2.0`, released November 28, 2026. MIT license. [Source repository](https://github.com/symfony/config)

Its v8.0.0-BETA1 release requires [PHP 8.4](https://since.dev/calendar/php/8.4.md) or later. [PHP end of life dates](https://since.dev/calendar/php.md).

- From [v7.0.0](#v-v7-0-0) to [v8.0.0](#v-v8-0-0): 12 breaking changes in 2 versions.

## symfony/config v8.0.0 breaking changes

symfony/config v8.0.0, released November 27, 2025: 7 breaking changes.

- **Removed** `Symfony\Component\Config\Builder\ConfigBuilderGenerator`  

Symfony\\Component\\Config\\Builder\\ConfigBuilderGenerator was removed in symfony/config v8.0.0 [packagist.org](https://packagist.org/packages/symfony/config#v8.0.0)
- **Removed** `Symfony\Component\Config\Builder\ConfigBuilderGeneratorInterface`  

Symfony\\Component\\Config\\Builder\\ConfigBuilderGeneratorInterface was removed in symfony/config v8.0.0 [packagist.org](https://packagist.org/packages/symfony/config#v8.0.0)
- **Removed** `Symfony\Component\Config\Builder\ConfigBuilderInterface`  

Symfony\\Component\\Config\\Builder\\ConfigBuilderInterface was removed in symfony/config v8.0.0 [packagist.org](https://packagist.org/packages/symfony/config#v8.0.0)
- **Removed** `Symfony\Component\Config\Definition\ArrayNode::shouldPerformDeepMerging`  

Symfony\\Component\\Config\\Definition\\ArrayNode::shouldPerformDeepMerging was removed in symfony/config v8.0.0 [packagist.org](https://packagist.org/packages/symfony/config#v8.0.0)
- **Signature changed** `Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition::canBeDisabled`  

Was public function canBeDisabled(/\* ?string $info = null \*/): static; now public function canBeDisabled(?string $info = null): static. [packagist.org](https://packagist.org/packages/symfony/config#v8.0.0)
- **Signature changed** `Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition::canBeEnabled`  

Was public function canBeEnabled(/\* ?string $info = null \*/): static; now public function canBeEnabled(?string $info = null): static. [packagist.org](https://packagist.org/packages/symfony/config#v8.0.0)
- **Signature changed** `Symfony\Component\Config\Definition\Builder\NodeBuilder::arrayNode`  

Was public function arrayNode(string $name/\*, ?string $singular = null \*/): ArrayNodeDefinition; now public function arrayNode(string $name, ?string $singular = null): ArrayNodeDefinition. [packagist.org](https://packagist.org/packages/symfony/config#v8.0.0)

## symfony/config v8.0.0-BETA1 breaking changes

symfony/config v8.0.0-BETA1, released November 27, 2025: 5 breaking changes.

- **Removed**  

Symfony 8 requires PHP 8.4 or later. [github.com](https://github.com/symfony/config/releases/tag/v8.0.0-BETA1)
- **Removed**  

PHP config files can no longer access $this or the loader's internal state. Use the documented configuration API instead. [github.com](https://github.com/symfony/config/releases/tag/v8.0.0-BETA1)
- **Removed**  

The fluent PHP configuration format is no longer supported. Code that relies on it must be rewritten in another supported config format. [github.com](https://github.com/symfony/config/releases/tag/v8.0.0-BETA1)
- **Behavior changed**  

Nodes that set both isRequired() and defaultValue() are now rejected. Remove one of the two. [github.com](https://github.com/symfony/config/releases/tag/v8.0.0-BETA1)
- **Signature changed**  

Parameters added to interfaces and methods are now declared explicitly, so implementations of these interfaces may need matching signatures. [github.com](https://github.com/symfony/config/releases/tag/v8.0.0-BETA1)

## symfony/config v7.0.0 breaking changes

symfony/config v7.0.0, released November 29, 2023: 155 breaking changes.

- **Removed** `Symfony\Component\Config\Resource\ClassExistenceResource::__serialize`  

Symfony\\Component\\Config\\Resource\\ClassExistenceResource::\_\_serialize was removed in symfony/config v7.0.0 [packagist.org](https://packagist.org/packages/symfony/config#v7.0.0)
- **Removed** `Symfony\Component\Config\Resource\ClassExistenceResource::__unserialize`  

Symfony\\Component\\Config\\Resource\\ClassExistenceResource::\_\_unserialize was removed in symfony/config v7.0.0 [packagist.org](https://packagist.org/packages/symfony/config#v7.0.0)
- **Removed** `Symfony\Component\Config\Resource\GlobResource::__serialize`  

Symfony\\Component\\Config\\Resource\\GlobResource::\_\_serialize was removed in symfony/config v7.0.0 [packagist.org](https://packagist.org/packages/symfony/config#v7.0.0)
- **Removed** `Symfony\Component\Config\Resource\GlobResource::__unserialize`  

Symfony\\Component\\Config\\Resource\\GlobResource::\_\_unserialize was removed in symfony/config v7.0.0 [packagist.org](https://packagist.org/packages/symfony/config#v7.0.0)
- **Removed** `Symfony\Component\Config\Resource\ReflectionClassResource::__serialize`  

Symfony\\Component\\Config\\Resource\\ReflectionClassResource::\_\_serialize was removed in symfony/config v7.0.0 [packagist.org](https://packagist.org/packages/symfony/config#v7.0.0)
- **Signature changed** `Symfony\Component\Config\ConfigCacheInterface::write`  

Was public function write(string $content, ?array $metadata = null); now public function write(string $content, array $metadata = null): void. [packagist.org](https://packagist.org/packages/symfony/config#v7.0.0)
- **Signature changed** `Symfony\Component\Config\Definition\ArrayNode::$addIfNotSet`  

Was protected $addIfNotSet; now protected bool $addIfNotSet. [packagist.org](https://packagist.org/packages/symfony/config#v7.0.0)
- **Signature changed** `Symfony\Component\Config\Definition\ArrayNode::$allowFalse`  

Was protected $allowFalse; now protected bool $allowFalse. [packagist.org](https://packagist.org/packages/symfony/config#v7.0.0)
- **Signature changed** `Symfony\Component\Config\Definition\ArrayNode::$allowNewKeys`  

Was protected $allowNewKeys; now protected bool $allowNewKeys. [packagist.org](https://packagist.org/packages/symfony/config#v7.0.0)
- **Signature changed** `Symfony\Component\Config\Definition\ArrayNode::$children`  

Was protected $children; now protected array $children. [packagist.org](https://packagist.org/packages/symfony/config#v7.0.0)

And 145 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## symfony/config v7.0.0-BETA3 breaking changes

symfony/config v7.0.0-BETA3, released November 29, 2023: 1 breaking change.

- **Behavior changed** `FileExistenceResource.__toString`  

The string returned by FileExistenceResource::\_\_toString() is prefixed to avoid clashing with FileResource, so code comparing or parsing that string may need updating. [github.com](https://github.com/symfony/config/releases/tag/v7.0.0-BETA3)

## symfony/config v7.0.0-BETA1 breaking changes

symfony/config v7.0.0-BETA1, released November 29, 2023: 7 breaking changes.

- **Removed**  

Code paths that were deprecated in 6.x are removed, so code relying on them must be updated. [github.com](https://github.com/symfony/config/releases/tag/v7.0.0-BETA1)
- **Removed**  

The package now needs PHP 8.2 or later, so older PHP versions can no longer run it. [github.com](https://github.com/symfony/config/releases/tag/v7.0.0-BETA1)
- **Behavior changed**  

Properties gained type declarations, so code assigning incompatible values or extending these classes may break. [github.com](https://github.com/symfony/config/releases/tag/v7.0.0-BETA1)
- **Configuration changed**  

The package now requires PHP 8.2 or later; older PHP versions are no longer supported. [github.com](https://github.com/symfony/config/releases/tag/v7.0.0-BETA1)
- **Signature changed**  

Public and protected properties gained type declarations, so subclasses or code that assign incompatible values may need updating. [github.com](https://github.com/symfony/config/releases/tag/v7.0.0-BETA1)
- **Signature changed**  

Methods now declare native return types, so overriding methods must declare compatible return types. [github.com](https://github.com/symfony/config/releases/tag/v7.0.0-BETA1)
- **Signature changed**  

Magic methods gained return type declarations, so overriding implementations must match them. [github.com](https://github.com/symfony/config/releases/tag/v7.0.0-BETA1)

## Related packages

- [symfony/asset](https://since.dev/packages/packagist/symfony/asset.md)
- [symfony/browser-kit](https://since.dev/packages/packagist/symfony/browser-kit.md)
- [symfony/cache](https://since.dev/packages/packagist/symfony/cache.md)
- [symfony/console](https://since.dev/packages/packagist/symfony/console.md)
- [symfony/css-selector](https://since.dev/packages/packagist/symfony/css-selector.md)
- [symfony/debug-bundle](https://since.dev/packages/packagist/symfony/debug-bundle.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
