Skip to content

symplify/config-transformer

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Convert Symfony XML/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 config/parameters.yml

The input files are deleted automatically.