PHPackages                             dejurin/php-table-generate - 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. dejurin/php-table-generate

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

dejurin/php-table-generate
==========================

Simple PHP HTML table generator by CodeIgniter.

1.0.1(1y ago)156MITPHPPHP &gt;=5.4

Since Jun 4Pushed 1y ago1 watchersCompare

[ Source](https://github.com/dejurin/php-table-generate)[ Packagist](https://packagist.org/packages/dejurin/php-table-generate)[ Docs](https://github.com/dejurin/php-table-generate)[ RSS](/packages/dejurin-php-table-generate/feed)WikiDiscussions main Synced 1mo ago

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

PHP Table Generate
==================

[](#php-table-generate)

Packagist:

Simple PHP HTML table generator by CodeIgniter.

Installation
------------

[](#installation)

Install this package via [Composer](https://getcomposer.org/).

```
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
-------

[](#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);

/*

CurrencyAmountColor

Dollar100#85bb65

*/
```

### License

[](#license)

This source code is distributed under [MIT](https://choosealicense.com/licenses/mit/) license.

---

Sponsors
--------

[](#sponsors)

###

[](#httpscurrencyconvertonline)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance44

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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 ~1003 days

Total

2

Last Release

438d ago

### Community

Maintainers

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

---

Top Contributors

[![dejurin](https://avatars.githubusercontent.com/u/4470015?v=4)](https://github.com/dejurin "dejurin (12 commits)")

---

Tags

generatorhtmlcodeignitertable

### Embed Badge

![Health badge](/badges/dejurin-php-table-generate/health.svg)

```
[![Health](https://phpackages.com/badges/dejurin-php-table-generate/health.svg)](https://phpackages.com/packages/dejurin-php-table-generate)
```

###  Alternatives

[okipa/laravel-table

Generate tables from Eloquent models.

56752.8k](/packages/okipa-laravel-table)[airmanbzh/php-html-generator

PHP html generator

7973.8k5](/packages/airmanbzh-php-html-generator)[gbrock/laravel-table

Table functionality for Laravel models

7644.3k](/packages/gbrock-laravel-table)[orchestra/html

HTML Component for Orchestra Platform

40112.6k2](/packages/orchestra-html)[lara-zeus/inline-chart

Zeus Inline Chart easily add a chart in filamentPHP table column

2139.9k](/packages/lara-zeus-inline-chart)[shish/microhtml

A minimal HTML generating library

1142.1k2](/packages/shish-microhtml)

PHPackages © 2026

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