PHPackages                             jovis/chtmltable - 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. [Framework](/categories/framework)
4. /
5. jovis/chtmltable

ActiveLibrary[Framework](/categories/framework)

jovis/chtmltable
================

PHP classes for making htmltable from databasetable

v1.0.2(10y ago)030MITHTMLPHP &gt;=5.4

Since Dec 15Pushed 10y ago1 watchersCompare

[ Source](https://github.com/johannaand/chtmltable)[ Packagist](https://packagist.org/packages/jovis/chtmltable)[ RSS](/packages/jovis-chtmltable/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

chtmltable
==========

[](#chtmltable)

PHP classes for simply output an HTML-table from a database table.

The package exists of a controller class, TableController, a simple class CHTMLTable and a DatabaseModel base class. The controller receives a databasemodel object, and uses CHTMLTable to create an html table string from it. There are also a view-file, a front-controller and a model class to be used for testing the package. The class CHTMLTable can also be used separately to make an html table-string from an array.

The packages works with ANAX-MVC Framework,

In your composer.json-file, a way to install the package is by adding these lines:

```
 "require": {
        "php": ">=5.4",
        "jovis/chtmltable": "@dev"
    },
 "minimum-stability" : "dev",
 "prefer-stable" : true

```

Before using the package:

- The package uses the package mos/cdatabase, and the database config-file need to be changed and moved to the right place in the Anax-MVC. See cdatabase documentation at  for more information.
- Move front-controller file table.php from jovis/chtmltable/webroot to Anax webroot
- Move chtmltable/view/list-all.tpl.php to a new directory Anax app/view/table/

In your composer.json-file, added those lines to make the package work:

```
 "require": {
        "php": ">=5.4",
        "jovis/chtmltable": "@dev"
    },
 "minimum-stability" : "dev",
 "prefer-stable" : true

```

The front-controller file uses a controller action to initiate the database table for testing.

This package is created as an assignment at a course in PHP MVC Framework at Blekingen Tekniska Högskola.

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/3780f888f0442adc567e695f3aad13db3d3f5036bd670732e6981f1f04feb6d2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a6f68616e6e61616e642f4348544d4c5461626c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/johannaand/CHTMLTable/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/50511ef8a403962a04246afec7494bcb1f287ed3ba9cbb7566548ad0d391dd15/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a6f68616e6e61616e642f4348544d4c5461626c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/johannaand/CHTMLTable/?branch=master)[![Build Status](https://camo.githubusercontent.com/7ae50ef73f88a7d4d8e992e8a5103f3338abf6c21e326334e3a945932ceff78a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a6f68616e6e61616e642f4348544d4c5461626c652f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/johannaand/CHTMLTable/build-status/master)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

3

Last Release

3847d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14297961?v=4)[johannaand](/maintainers/johannaand)[@johannaand](https://github.com/johannaand)

---

Top Contributors

[![johannaand](https://avatars.githubusercontent.com/u/14297961?v=4)](https://github.com/johannaand "johannaand (34 commits)")

---

Tags

frameworkmicromvcmodule

### Embed Badge

![Health badge](/badges/jovis-chtmltable/health.svg)

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

PHPackages © 2026

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