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

ActiveLibrary[Framework](/categories/framework)

qrotux/phalcon-datatables
=========================

DataTables adapter for Phalcon Framework

2.0.1(4y ago)08.6k↓38.6%1MITPHP

Since Feb 6Pushed 3y ago1 watchersCompare

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

READMEChangelog (4)Dependencies (3)Versions (18)Used By (0)

About
=====

[](#about)

This is a [Phalcon Framework](http://phalconphp.com/) adapter for [DataTables](http://www.datatables.net/). This version contains community fixes and multi model search support

Support
=======

[](#support)

### Currently supported

[](#currently-supported)

- QueryBuilder interface
- ResultSet interface
- Pagination
- Global search (by value)
- Ordering
- Multiple column ordering
- Column-based search
- Multi model search

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

[](#installation)

### Installation via Composer

[](#installation-via-composer)

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

```
{
    "require": {
        "qrotux/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 stantart 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)

```
