承接 dejurin/php-table-generate 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dejurin/php-table-generate

Composer 安装命令:

composer require dejurin/php-table-generate

包简介

Simple PHP HTML table generator by CodeIgniter.

README 文档

README

Packagist: https://packagist.org/packages/dejurin/php-table-generate

Simple PHP HTML table generator by CodeIgniter.

Installation

Install this package via Composer.

composer require dejurin/php-table-generate

Or edit your project's composer.json to require dejurin/php-table-generate and then run composer update.

"require": {
    "dejurin/php-table-generate": "^1.0.1"
}

Example

$table = new Dejurin\PHPTableGenerate();

$table->set_heading('Currency', 'Amount', 'Color');

$data = [
    [
        [
            'data' => 'Dollar',
            'td' => 'th',
            'scope' => 'row',
            'class' => 'style'
        ],  
        100,
        '#85bb65',
    ],
];

echo $table->generate($data);

/* 
<table border="0" cellpadding="4" cellspacing="0">
<thead>
<tr>
<th>Currency</th><th>Amount</th><th>Color</th></tr>
</thead>
<tbody>
<tr>
<th class="style" scope="row">Dollar</th><td>100</td><td>#85bb65</td></tr>
</tbody>
</table>
*/

License

This source code is distributed under MIT license.

Sponsors

https://currencyconvert.online/

统计信息

  • 总下载量: 56
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-06-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固