arturu/laying
Composer 安装命令:
composer require arturu/laying
包简介
Laying convert YAML to XML/HTML file
README 文档
README
Laying converts an array in YML format into nested XML / HTML tags. Laying facilitates the development and management of templates for the most popular CMS. In addition, laying allows you to manage the structure of XML files. Laying receives in input a YML file that represents the structure of the file to generate and outputs the result.
Installation
composer require arturu/laying
Usage
cd vendor/arturu/laying
bin/console render /path/source/page.yml > /path/to/template/page.html
For example
cd vendor/arturu/laying
edit configuration file
nano examples/basic-examples/page-standard.yml
and exec
bin/console render examples/basic-examples/page-standard.yml > /path/to/template/page.html.twig
Documentation
See docs folder for documentation
License
GPL v3.0 - Read LICENSE file
统计信息
- 总下载量: 43
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL
- 更新时间: 2017-03-26