gromnan/symfony-config-xml-to-php

Convert Symfony config files from XML to PHP

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 3

Forks: 2

Open Issues: 3

pkg:composer/gromnan/symfony-config-xml-to-php

0.1.0 2025-10-08 21:09 UTC

This package is auto-updated.

Last update: 2025-10-10 16:06:13 UTC


README

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

Install:

composer require --dev gromnan/symfony-config-xml-to-php

Run the script for a directory:

vendor/bin/convert src/Symfony/Bundle/Resources/config/

Or for a single file:

vendor/bin/convert src/Symfony/Bundle/Resources/config/services.xml

Contributing

Feel free to open issues or submit pull requests for improvements or bug fixes.

License

MIT License. See the LICENSE file for details.