rocket/table
Composer 安装命令:
composer require rocket/table
包简介
Table display helper
README 文档
README
This library is a helper to generate HTML tables from an array.
Install
Via Composer
$ composer require rocket/table
Usage
$heads = ['Title', 'Author']; $content = [ ['The book I didn\'t write', 'Not Me'] ['The book he wrote', 'It was me'] ]; echo Table::quick($heads, $content);
will produce
<table class="table table-striped sticky-enabled"> <thead> <tr><th>Title</th><th>Author</th></tr> </thead> <tbody> <tr><td>The book I didn't write</td><td>Not Me</td></tr> <tr><td>The book he wrote</td><td>It was me</td></tr> </tbody> </table>
Testing
All the tests live in the main project.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 616
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-05-23