Skip to content

GromNaN/symfony-config-xml-to-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Convert XML to PHP config files in Symfony Bundles

XML configuration format is removed from Symfony 8.0. Bundles must convert their XML config files to PHP.

⚠️ This script is a best-effort tool and does not guarantee a perfect conversion. Manual review and adjustments may be necessary.

Usage

Run the script:

php convert_xml_to_php.php src/Symfony/Bundle/Resources/config/

Fix coding style (mainly array syntax):

php-cs-fixer fix src/Symfony/Bundle/Resources/config/

About

Script to convert Symfony config files from XML to PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages