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(6mo ago)36433↓66.7%9[8 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 1mo 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 3w 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

43

—

FairBetter than 90% of packages

Maintenance76

Regular maintenance activity

Popularity28

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.1% 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

201d 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 (12 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

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

101466.4k45](/packages/friendsoftypo3-content-blocks)

PHPackages © 2026

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