PHPackages                             happydemon/data-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. [Database &amp; ORM](/categories/database)
4. /
5. happydemon/data-table

ActiveKohana-module[Database &amp; ORM](/categories/database)

happydemon/data-table
=====================

Kohana wrapper for generating standardised jQuery DataTables

0.4.0(13y ago)914[3 issues](https://github.com/happyDemon/dataTable/issues)MITPHPPHP &gt;=5.4

Since Feb 12Pushed 12y ago3 watchersCompare

[ Source](https://github.com/happyDemon/dataTable)[ Packagist](https://packagist.org/packages/happydemon/data-table)[ Docs](https://github.com/happyDemon/dataTable)[ RSS](/packages/happydemon-data-table/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (3)Versions (5)Used By (0)

dataTable
=========

[](#datatable)

Kohana 3.3 wrapper for generating standardised jQuery [DataTables](http://datatables.net/) that's prepared to be integrated with twitter bootstrap layouts.

This module generates:

- your table's HTML
- a javascript file that initialises your table
- handles the dataTable request to load/filter/sort your table.

The table's HTML and javascript get cached after being generated (its lifetime can be set in the config file).

Install
=======

[](#install)

### Git

[](#git)

```
git clone git://github.com/morgan/kohana-paginate.git modules/paginate
git clone git://github.com/morgan/kohana-datatables.git modules/datatables
git clone git://github.com/happyDemon/dataTable.git modules/dataTable
```

### Composer

[](#composer)

Add paginate and datatables to your composer.json repositories

```
"repositories": [
        {
            "type": "package",
            "package": {
                "name": "morgan/kohana-paginate",
                "version": "0.3.0",
                "type" : "kohana-module",
                "source": {
                    "url": "https://github.com/morgan/kohana-paginate",
                    "type": "git"
                }
            }
        },
        {
            "type": "package",
            "package": {
                "name": "morgan/kohana-datatables",
                "version": "0.2.0",
                "type" : "kohana-module",
                "source": {
                    "url": "https://github.com/morgan/kohana-datatables",
                    "type": "git"
                }
            }
        }
    ]
```

Add "happydemon/datatable" to your dependencies

```
{
  "require": {
  		"php":">=5.4",
		"composer/installers": "*",
		"happydemon/datatable": "0.3"
	}
}
```

Example
=======

[](#example)

A controller was added to show how you could implement this module's functionality, all that's left to do is setup the table's columns.

```
protected function _setup_table($table) {
	$this->_model = ORM::factory('User');

	$table->name('users');
    $table->add_column('username', array('head' => 'Username'));
    $table->add_column('email', array('head' => 'E-mail'));
    $table->add_column('logins', array('head' => '# logins', 'class' => 'span1'));

    return $table;
}
```

[![Gittip Badge](https://camo.githubusercontent.com/a460d7f93fdca3a1b0200a439eaf0332967027365be1bdc9d2dda2b13aa644b8/687474703a2f2f696d672e736869656c64732e696f2f6769747469702f686170707944656d6f6e2e737667)](https://www.gittip.com/happyDemon/ "Gittip donations")

[![Bitdeli Badge](https://camo.githubusercontent.com/d47961b1b6eb402975718787d040b0eae44e900a398caaf7c1e9a9ea47424373/68747470733a2f2f64327765637a68766c38323376302e636c6f756466726f6e742e6e65742f686170707944656d6f6e2f646174617461626c652f7472656e642e706e67)](https://bitdeli.com/free "Bitdeli Badge")

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity51

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

Total

4

Last Release

4880d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/91a724ec7e90c57050c6fa0fa34f9faeec7041896866d4f8ddc85ed00b0f8887?d=identicon)[happyDemon](/maintainers/happyDemon)

---

Top Contributors

[![bitdeli-chef](https://avatars.githubusercontent.com/u/3092978?v=4)](https://github.com/bitdeli-chef "bitdeli-chef (1 commits)")

---

Tags

datauigeneratorormkohanajquerydatatable

### Embed Badge

![Health badge](/badges/happydemon-data-table/health.svg)

```
[![Health](https://phpackages.com/badges/happydemon-data-table/health.svg)](https://phpackages.com/packages/happydemon-data-table)
```

###  Alternatives

[omines/datatables-bundle

Symfony DataTables Bundle with native Doctrine ORM, Elastica and MongoDB support

2841.5M6](/packages/omines-datatables-bundle)[theofidry/alice-data-fixtures

Nelmio alice extension to persist the loaded fixtures.

32329.9M103](/packages/theofidry-alice-data-fixtures)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[atlas/orm

An ORM for your persistence model (not your domain model).

432144.3k12](/packages/atlas-orm)[openbuildings/jam

Small but feature rich ORM, has extensible models and builders, baked in upload functionality, supporting multiple backends (rackspace, ftp), polymorphic associations, form builders, nested forms, validators

32181.4k16](/packages/openbuildings-jam)[atlas/cli

Command-line interface for Atlas.

14129.5k10](/packages/atlas-cli)

PHPackages © 2026

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