Symfony 7.4 deprecates the fluent PHP configuration format introduced in 5.3 and replaces it with a new array-based configuration system. The new format uses dynamically generated array shapes that provide full IDE autocompletion, static analysis, and type validation while maintaining the simplicity of YAML-like syntax. Configuration shapes are generated based on installed bundles and stored in a reference.php file. While YAML remains the recommended format for now, this change positions PHP as a potential first-class configuration option once tooling support matures.
Sort: