PHPackages                             hxzlhby/arr2table - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. hxzlhby/arr2table

Active1

hxzlhby/arr2table
=================

arr2table

1.0.1(5y ago)115MITPHPPHP &gt;=7.0

Since May 2Pushed 5y ago1 watchersCompare

[ Source](https://github.com/hxzlhby/arr2table)[ Packagist](https://packagist.org/packages/hxzlhby/arr2table)[ RSS](/packages/hxzlhby-arr2table/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (3)Used By (0)

数组转换为html表格
===========

[](#数组转换为html表格)

> 专为 email 发送可视化表格设计

DEMO
----

[](#demo)

```
$data = [
    ['单个表格'],
    ['标题1', '标题2', '标题3'],
    [1, 2, 3],
    [1, 2, 3],
    [1, 2, 3]
];
$table = Arr2Table::oneTable($data);
echo $table;

$data2 = [
    [
        ['多个表格1'],
        ['标题1', '标题2', '标题3'],
        [1, 2, 3],
        [1, 2, 3],
        [1, 2, 3]
    ],
    [
        ['多个表格2'],
        ['标题1', '标题2', '标题3'],
        [1, 2, 3],
        [1, 2, 3],
        [1, 2, 3]
    ]
];
$table2 = Arr2Table::moreTable($data2);
echo $table;

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~915 days

Total

2

Last Release

2016d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b13536dfb637432f5f184fd0d0c554ce611c3eae60b2560f473719e1edbc88b9?d=identicon)[hxzlhby](/maintainers/hxzlhby)

---

Top Contributors

[![hxzlhby](https://avatars.githubusercontent.com/u/8222823?v=4)](https://github.com/hxzlhby "hxzlhby (1 commits)")

### Embed Badge

![Health badge](/badges/hxzlhby-arr2table/health.svg)

```
[![Health](https://phpackages.com/badges/hxzlhby-arr2table/health.svg)](https://phpackages.com/packages/hxzlhby-arr2table)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
