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. [Utility &amp; Helpers](/categories/utility)
4. /
5. hxzlhby/arr2table

Active1[Utility &amp; Helpers](/categories/utility)

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 4w ago

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 40% 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

2111d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8222823?v=4)[yil](/maintainers/hxzlhby)[@hxzlhby](https://github.com/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)
```

###  Alternatives

[z3d0x/filament-fabricator

Block-Based Page Builder Skeleton for your Filament Apps

385199.6k3](/packages/z3d0x-filament-fabricator)[rafaelfragoso/haversini-formula

This PHP class can replace the Google Distance Matrix to calculate the distance between two points using latitude and longitude. It will prevent you to do massive requests to Google servers and enhance your service performance.

46217.5k](/packages/rafaelfragoso-haversini-formula)[bnomei/kirby3-recently-modified

Kirby Section to display recently modified content pages

3211.0k](/packages/bnomei-kirby3-recently-modified)

PHPackages © 2026

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