elightup/twig
最新稳定版本:3.3.8
Composer 安装命令:
composer require elightup/twig
包简介
README 文档
README
This is a mirror of twig/twig which is used to prevent conflicts when other plugins use a different version of Twig inside WordPress.
This package is used in:
Making this package helps reduce duplication, especially in Meta Box AIO.
To make it less confusing, the version of this package is the same as Twig.
This package is created using Mozart, a briliant tool for WordPress developers.
How to build the package
Install mozart globally
Run the following commands:
composer require twig/twig
Usage
Instead if use a Twig class like Twig\ClassName, you need to prepend eLightup\ to the class name, e.g.: eLightUp\Twig\ClassName.
Notes
The package includes a twig.php file, which acts like a plugin bootstrap file for WordPress. This helps you just enable this plugin inside WordPress for testing before bundling it into plugins.
统计信息
- 总下载量: 138
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2025-03-17