定制 gone.io/twig-extension-transform 二次开发

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

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

gone.io/twig-extension-transform

最新稳定版本:v1.3

Composer 安装命令:

composer require gone.io/twig-extension-transform

包简介

Add the ability to transform from one case style to another programatically.

README 文档

README

Build Status

Add the ability to transform from one case style to another programatically.

Example:

{{ input|transform_camel_to_snake }} will output this_is_an_example for the input thisIsAnExample

###Supported transformers:

Any combination of the following:

  • Camel thisIsAnExample
  • Snake this_is_an_example
  • Screaming Snake THIS_IS_AN_EXAMPLE
  • Spinal this-is-an-example
  • Studly Caps ThisIsAnExample

using the format 'transform-from-to-target'

Credits

Written ontop of the wonderful Camel package written by Matthieu Moquet

统计信息

  • 总下载量: 7.25k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 5
  • 依赖项目数: 6
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2017-05-27