symplify / config-transformer

Convert Symfony YAML configs to PHP format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Convert Symfony YAML configs to PHP format

License:MIT License


Languages

Language:PHP 95.1%Language:Shell 4.9%