定制 symplify/config-transformer 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

symplify/config-transformer

最新稳定版本:12.4.3

Composer 安装命令:

composer require symplify/config-transformer

包简介

Convert Symfony YAML configs to PHP

README 文档

README

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.

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

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

统计信息

  • 总下载量: 1.91M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 259
  • 点击次数: 1
  • 依赖项目数: 22
  • 推荐数: 0

GitHub 信息

  • Stars: 258
  • Watchers: 5
  • Forks: 14
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04