Download the PHP package gromnan/symfony-config-xml-to-php without Composer
On this page you can find all versions of the php package gromnan/symfony-config-xml-to-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download gromnan/symfony-config-xml-to-php
More information about gromnan/symfony-config-xml-to-php
Files in gromnan/symfony-config-xml-to-php
Download gromnan/symfony-config-xml-to-php
More information about gromnan/symfony-config-xml-to-php
Files in gromnan/symfony-config-xml-to-php
Vendor gromnan
Package symfony-config-xml-to-php
Short Description Convert Symfony config files from XML to PHP
License MIT
Package symfony-config-xml-to-php
Short Description Convert Symfony config files from XML to PHP
License MIT
Please rate this library. Is it a good library?
Informations about the package symfony-config-xml-to-php
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.
Installation
The best way to use this tool is as a standalone project in a separate directory.
mkdir xml-to-php-converter
cd xml-to-php-converter
composer init --type=project --require='gromnan/symfony-config-xml-to-php:*' --no-interaction
composer install
Usage
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.
All versions of symfony-config-xml-to-php with dependencies
PHP Build Version
Package Version
Requires
php Version
>= 8.2
ext-dom Version *
symfony/finder Version 7.4.*
symfony/config Version 7.4.*
symfony/console Version 7.4.*
symfony/dependency-injection Version 7.4.*
symfony/expression-language Version 7.4.*
sebastian/diff Version ^6.0 || ^7.0
ext-dom Version *
symfony/finder Version 7.4.*
symfony/config Version 7.4.*
symfony/console Version 7.4.*
symfony/dependency-injection Version 7.4.*
symfony/expression-language Version 7.4.*
sebastian/diff Version ^6.0 || ^7.0
The package gromnan/symfony-config-xml-to-php contains the following files
Loading the files please wait ...