PHPackages                             migrify/config-transformer - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. migrify/config-transformer

Abandoned → [symplify/config-transformer](/?search=symplify%2Fconfig-transformer)Library[Parsing &amp; Serialization](/categories/parsing)

migrify/config-transformer
==========================

Convert Symfony YAML configs to PHP

12.5.1(3w ago)263196.2k143MITPHPPHP &gt;=8.2CI passing

Since Jul 10Pushed 3w ago5 watchersCompare

[ Source](https://github.com/symplify/config-transformer)[ Packagist](https://packagist.org/packages/migrify/config-transformer)[ Fund](https://www.paypal.me/rectorphp)[ GitHub Sponsors](https://github.com/tomasvotruba)[ RSS](/packages/migrify-config-transformer/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependencies (24)Versions (387)Used By (3)

Convert Symfony YAML configs to PHP
===================================

[](#convert-symfony-yaml-configs-to-php)

[![Downloads total](https://camo.githubusercontent.com/ab43c1bbdddeac745331dd90528624a438b945bc0151381beacb51c4dbde2af1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73796d706c6966792f636f6e6669672d7472616e73666f726d65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/symplify/config-transformer/stats)

Why to PHP? It's the best format for PHP Symfony applications:

- [Modernize Symfony Configs](https://getrector.com/blog/modernize-symfony-configs)
- [10 Cool Features You Get after switching from YAML to PHP Configs](https://tomasvotruba.com/blog/2020/07/16/10-cool-features-you-get-after-switching-from-yaml-to-php-configs/)
- [How to Switch from YAML/XML Configs to PHP Today with Symplify](https://tomasvotruba.com/blog/2020/07/27/how-to-switch-from-yaml-xml-configs-to-php-today-with-migrify/)

Install
-------

[](#install)

```
composer require symplify/config-transformer --dev
```

Usage
-----

[](#usage)

By default, the command uses `/config` directory to transform all files in it.

At first, run it with `--dry-run` to see what files *would be* transformed:

```
vendor/bin/config-transformer --dry-run
```

Do you want to convert single file or directory at a time? Specify the paths as arguments:

```
vendor/bin/config-transformer config/parameters.yml  --dry-run
```

Are you ready to go? Remove `--dry-run`:

```
vendor/bin/config-transformer
```

The input files are deleted automatically.

### Skip Routes at First

[](#skip-routes-at-first)

It's typical to upgrade first services and then routes as follow up PR. To do that, use `--skip-routes` option:

```
vendor/bin/config-transformer --skip-routes
```

###  Health Score

70

—

ExcellentBetter than 100% of packages

Maintenance95

Actively maintained with recent releases

Popularity51

Moderate usage in the ecosystem

Community27

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 88.5% 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 ~5 days

Recently: every ~83 days

Total

383

Last Release

22d ago

Major Versions

0.4.2 → 9.0.0-BETA22020-11-24

9.4.70 → 10.0.0-beta12021-11-02

10.3.3 → 11.0.12022-06-13

11.2.3.72 → 12.0.02023-01-31

PHP version history (8 changes)v0.3.2PHP ^7.2

v0.3.32PHP ^7.2|^8.0

0.3.34PHP &gt;=7.2

9.0.0-rc1PHP &gt;=7.3

v9.3.22PHP &gt;=7.1

v9.3.25PHP &gt;=8.0

11.1.25PHP &gt;=8.1

12.5.1PHP &gt;=8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/924196?v=4)[Tomas Votruba](/maintainers/TomasVotruba)[@TomasVotruba](https://github.com/TomasVotruba)

---

Top Contributors

[![actions-user](https://avatars.githubusercontent.com/u/65916846?v=4)](https://github.com/actions-user "actions-user (1847 commits)")[![TomasVotruba](https://avatars.githubusercontent.com/u/924196?v=4)](https://github.com/TomasVotruba "TomasVotruba (199 commits)")[![samsonasik](https://avatars.githubusercontent.com/u/459648?v=4)](https://github.com/samsonasik "samsonasik (20 commits)")[![rector-bot](https://avatars.githubusercontent.com/u/291251500?v=4)](https://github.com/rector-bot "rector-bot (5 commits)")[![localheinz](https://avatars.githubusercontent.com/u/605483?v=4)](https://github.com/localheinz "localheinz (3 commits)")[![ThomasLandauer](https://avatars.githubusercontent.com/u/1054469?v=4)](https://github.com/ThomasLandauer "ThomasLandauer (3 commits)")[![dannyvankooten](https://avatars.githubusercontent.com/u/885856?v=4)](https://github.com/dannyvankooten "dannyvankooten (2 commits)")[![sad270](https://avatars.githubusercontent.com/u/5607440?v=4)](https://github.com/sad270 "sad270 (2 commits)")[![GromNaN](https://avatars.githubusercontent.com/u/400034?v=4)](https://github.com/GromNaN "GromNaN (2 commits)")[![b1rdex](https://avatars.githubusercontent.com/u/312855?v=4)](https://github.com/b1rdex "b1rdex (1 commits)")[![leoloso](https://avatars.githubusercontent.com/u/1981996?v=4)](https://github.com/leoloso "leoloso (1 commits)")[![PhilETaylor](https://avatars.githubusercontent.com/u/400092?v=4)](https://github.com/PhilETaylor "PhilETaylor (1 commits)")[![COil](https://avatars.githubusercontent.com/u/177844?v=4)](https://github.com/COil "COil (1 commits)")

---

Tags

converterphpsymfonyxmlyaml

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Type Coverage Yes

### Embed Badge

![Health badge](/badges/migrify-config-transformer/health.svg)

```
[![Health](https://phpackages.com/badges/migrify-config-transformer/health.svg)](https://phpackages.com/packages/migrify-config-transformer)
```

###  Alternatives

[sylius/sylius

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

8.5k5.9M736](/packages/sylius-sylius)[jolicode/castor

A lightweight and modern task runner. Automate everything. In PHP.

54743.1k4](/packages/jolicode-castor)[sulu/sulu

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

1.3k1.4M203](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.8k](/packages/contao-core-bundle)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)

PHPackages © 2026

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