PHPackages                             goddard/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. [API Development](/categories/api)
4. /
5. goddard/datatables

ActiveLibrary[API Development](/categories/api)

goddard/datatables
==================

PHP Library to handle server-side processing for Datatables, in a fast and simple way.

2.4.0(4y ago)27461MITPHPPHP &gt;=7.1.3

Since Jul 30Pushed 4y agoCompare

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

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

Datatables library for PHP
==========================

[](#datatables-library-for-php)

[![Latest Stable Version](https://camo.githubusercontent.com/3b1ef70089e83283ac96b148348fc91c62b2824f06c55a1df0f98caf2e60f570/68747470733a2f2f706f7365722e707567782e6f72672f476f64646172642f646174617461626c65732f762f737461626c65)](https://packagist.org/packages/Goddard/datatables) [![Build Status](https://camo.githubusercontent.com/8bbd367732a7c6c170c6ec131bb026b01b02891e7f40bb59e17d02e8edbc3686/68747470733a2f2f7472617669732d63692e6f72672f6e31637261636b2f646174617461626c65732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/n1crack/datatables) [![license](https://camo.githubusercontent.com/850eae1099d2b05f53383473d7cd51f9bc1ab09b7d0d9e5122f1dd930efdcc6d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6173686170652f6170697374617475732e737667)](https://github.com/n1crack/datatables/blob/master/LICENCE)

PHP Library to handle server-side processing for Datatables, in a fast and simple way. [Live Demo](https://datatables.Goddard.be/)

Features
--------

[](#features)

- Easy to use. Generates json using only a few lines of code.
- Editable columns with a closure function.
- Supports custom filters.
- Can handle most complicated queries.
- Supports mysql and sqlite for native php.
- Works with :
    - [Laravel](https://datatables.Goddard.be/laravel)
    - [CodeIgniter 3](https://datatables.Goddard.be/codeigniter)
    - [Phalcon 3+](https://datatables.Goddard.be/phalcon)
    - [Prestashop](https://datatables.Goddard.be/prestashop)
    - [PostgreSql](https://datatables.Goddard.be/postgresql)

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

[](#installation)

> **NOTE:** version 2.0+ requires php 7.1.3+ ([php supported versions](http://php.net/supported-versions.php))

The recommended way to install the library is with [Composer](https://getcomposer.org/)

If you haven't started using composer, I highly recommend you to use it.

Put a file named `composer.json` at the root of your project, containing this information:

```
{
    "require": {
       "Goddard/datatables": "2.*"
    }
}

```

And then run:

```
composer install

```

Or just run :

```
composer require Goddard/datatables

```

Add the autoloader to your project:

```
