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
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.2k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 6
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2017-05-27