thijzer/html-builder
Composer 安装命令:
composer require thijzer/html-builder
包简介
Simple PHP Html component builder
关键字:
README 文档
README
Goals
This Repo is meant to making dynamic html elements easier. Most of the known component should be available as a set.
Making it possible to build menu, datagrid, table component as objects in PHP. And pass them as to you template engine.
Example
$table = new \HtmlBuilder\Table(); $table->setData($dataSet); $table ->add('#', 'rowcount') ->add('title') ->add('status_code') ->add('h1_count') ->add('frequency') ->add('links_text', 'arrayCount') ->add('visited', 'boolean') ->add('absolute_url', 'link') ;
$table->render()
统计信息
- 总下载量: 45
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-05-10