PHPackages                             gromnan/symfony-config-xml-to-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. gromnan/symfony-config-xml-to-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

gromnan/symfony-config-xml-to-php
=================================

Convert Symfony config files from XML to PHP

0.2.1(5mo ago)36384↑172.7%9[7 issues](https://github.com/GromNaN/symfony-config-xml-to-php/issues)[1 PRs](https://github.com/GromNaN/symfony-config-xml-to-php/pulls)MITPHPPHP &gt;= 8.2CI passing

Since Oct 8Pushed 4mo ago4 watchersCompare

[ Source](https://github.com/GromNaN/symfony-config-xml-to-php)[ Packagist](https://packagist.org/packages/gromnan/symfony-config-xml-to-php)[ RSS](/packages/gromnan-symfony-config-xml-to-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (7)Versions (6)Used By (0)

Convert XML to PHP config files in Symfony Bundles
==================================================

[](#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
------------

[](#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
-----

[](#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
------------

[](#contributing)

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

License
-------

[](#license)

MIT License. See the LICENSE file for details.

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance70

Regular maintenance activity

Popularity29

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 52.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~20 days

Total

4

Last Release

155d ago

PHP version history (2 changes)0.1.0PHP &gt;= 8.4

0.2.1PHP &gt;= 8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/400034?v=4)[Jérôme Tamarelle](/maintainers/GromNaN)[@GromNaN](https://github.com/GromNaN)

---

Top Contributors

[![GromNaN](https://avatars.githubusercontent.com/u/400034?v=4)](https://github.com/GromNaN "GromNaN (10 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (3 commits)")[![alexander-schranz](https://avatars.githubusercontent.com/u/1698337?v=4)](https://github.com/alexander-schranz "alexander-schranz (2 commits)")[![mbabker](https://avatars.githubusercontent.com/u/368545?v=4)](https://github.com/mbabker "mbabker (2 commits)")[![Chris53897](https://avatars.githubusercontent.com/u/7104259?v=4)](https://github.com/Chris53897 "Chris53897 (1 commits)")[![mpdude](https://avatars.githubusercontent.com/u/1202333?v=4)](https://github.com/mpdude "mpdude (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gromnan-symfony-config-xml-to-php/health.svg)

```
[![Health](https://phpackages.com/badges/gromnan-symfony-config-xml-to-php/health.svg)](https://phpackages.com/packages/gromnan-symfony-config-xml-to-php)
```

###  Alternatives

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
