PHPackages                             kirimemail/phalcon-datatables - 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. kirimemail/phalcon-datatables

ActiveLibrary[Framework](/categories/framework)

kirimemail/phalcon-datatables
=============================

A DataTables adapter for Phalcon Framework

1.1.0(3y ago)26161MITPHP

Since Oct 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/kirimemail/phalcon-datatable)[ Packagist](https://packagist.org/packages/kirimemail/phalcon-datatables)[ RSS](/packages/kirimemail-phalcon-datatables/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (12)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/dc7c48a8edb982af318f27cdc10b3042704e7a614da0c7f6b4c59a237ae80e7a/68747470733a2f2f706f7365722e707567782e6f72672f6b6972696d656d61696c2f7068616c636f6e2d646174617461626c65732f762f737461626c65)](https://packagist.org/packages/kirimemail/phalcon-datatables)[![Build Status](https://camo.githubusercontent.com/adcf4162861f67d95ab729afbca9aca2acdc407fa2cb5bea6aef050f8350585d/68747470733a2f2f7472617669732d63692e6f72672f6b6972696d656d61696c2f7068616c636f6e2d646174617461626c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/kirimemail/phalcon-datatable)[![Coverage Status](https://camo.githubusercontent.com/90f3b7932f70882b737bd60816f0be55ecf28f00747e76ab866171a06999ff01/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6b6972696d656d61696c2f7068616c636f6e2d646174617461626c652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/kirimemail/phalcon-datatable?branch=master)[![License](https://camo.githubusercontent.com/e2174753f82c7482e4b62937918da31e2b08b4ae90fb9b22dfc549e67f577e43/68747470733a2f2f706f7365722e707567782e6f72672f6b6972696d656d61696c2f7068616c636f6e2d646174617461626c65732f6c6963656e7365)](https://packagist.org/packages/kirimemail/phalcon-datatables)

About
=====

[](#about)

This is a [Phalcon Framework](http://phalconphp.com/) adapter for [DataTables](http://www.datatables.net/).

Support
=======

[](#support)

### Currently supported

[](#currently-supported)

- QueryBuilder interface
- ResultSet interface
- Pagination
- Raw query interface(\*new)
- Global search (by value)
- Ordering
- Multiple column ordering
- Column-based search
- Caching

Installation
============

[](#installation)

### Installation via Composer

[](#installation-via-composer)

- Install a composer
- Create `composer.json` file inside your project directory
- Paste into it

```
{
    "require": {
        "kirimemail/phalcon-datatables": "1.*"
    }
}
```

- Run `composer update`

Example usage
=============

[](#example-usage)

It uses Phalcon [QueryBuilder](http://docs.phalconphp.com/en/latest/api/Phalcon_Mvc_Model_Query_Builder.html) for pagination in DataTables.

In example we have a standart MVC application, with database enabled. Don't need to provide a normal bootstrap PHP file, for Phalcon documentation, visit official site.

### Controller (using QueryBuilder):

[](#controller-using-querybuilder)

```
