Skip to content

Convert Symfony YAML configs to PHP format

License

Notifications You must be signed in to change notification settings

symplify/config-transformer

Repository files navigation

Convert Symfony YAML configs to PHP

Downloads total


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

Install

composer require symplify/config-transformer --dev

Usage

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

vendor/bin/config-transformer

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

vendor/bin/config-transformer convert config/parameters.yml

The input files are deleted automatically.