PHPackages                             chrisoconnell/cao-html-table - 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. [Templating &amp; Views](/categories/templating)
4. /
5. chrisoconnell/cao-html-table

ActiveLibrary[Templating &amp; Views](/categories/templating)

chrisoconnell/cao-html-table
============================

A Zend Framework 2 view helper to render an HTML Table

51.0k4[1 PRs](https://github.com/chrisoconnell/CaoHtmlTable/pulls)PHP

Since Apr 11Pushed 10y ago2 watchersCompare

[ Source](https://github.com/chrisoconnell/CaoHtmlTable)[ Packagist](https://packagist.org/packages/chrisoconnell/cao-html-table)[ RSS](/packages/chrisoconnell-cao-html-table/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

CaoHtmlTable
============

[](#caohtmltable)

Zend Framework 2 View Helper to render an HTML Table

The input can be either an array or an instance of CaoHtmlTable\\Model\\Table. The code will try to make to most of what its given.

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

[](#installation)

### Main Setup

[](#main-setup)

#### By cloning project

[](#by-cloning-project)

1. Install the [CaoHtmlTable](https://github.com/chrisoconnell/CaoHtmlTable) ZF2 module by cloning it into `./vendor/`.
2. Clone this project into your `./vendor/` directory.

#### With composer

[](#with-composer)

1. Add this project in your composer.json:

    ```
    "require": {
        "chrisoconnell/cao-html-table": "dev-master"
    }
    ```
2. Now tell composer to download CaoHtmlTable by running the command:

    ```
    $ php composer.phar update
    ```

#### Post installation

[](#post-installation)

1. Enabling it in your `application.config.php` file.

    ```
