PHPackages                             gleisonnanet/serverside-datatables-bundle - 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. gleisonnanet/serverside-datatables-bundle

ActiveLibrary

gleisonnanet/serverside-datatables-bundle
=========================================

DataTables integration for Symfony

02PHPCI failing

Since Jan 14Pushed 6y ago1 watchersCompare

[ Source](https://github.com/gleisonnanet/DataTablesServerSide)[ Packagist](https://packagist.org/packages/gleisonnanet/serverside-datatables-bundle)[ RSS](/packages/gleisonnanet-serverside-datatables-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

DataTablesBundle
================

[](#datatablesbundle)

[![Build Status](https://camo.githubusercontent.com/af1b399c02be43ac78d49e9a7102e600da4886092cae06a5807f39771da3360a/68747470733a2f2f7472617669732d63692e6f72672f75676c6569736f6e6e616e65742f736572766572736964652d646174617461626c65732d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ugleisonnanet/serverside-datatables-bundle)

What it does
------------

[](#what-it-does)

The DataTablesBundle let's you easily create (sortable and filterable) [serverSide](http://datatables.net/reference/option/serverSide)[DataTables](http://datatables.net/) from Doctrine entities.

License
-------

[](#license)

This bundle is under the MIT license. See the complete license in the bundle:

```
LICENSE

```

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

[](#installation)

Enable the bundle by adding the following line in the `app/AppKernel.php`file of your project:

```
# app/AppKernel.php

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new gleisonnanet\DataTablesBundle\gleisonnanetDataTablesBundle(),
        );

        // ...
    }

    // ...
}
```

Configuration
-------------

[](#configuration)

After installing the bundle, make sure you add this route to your routing:

```
# app/config/routing.yml
datatables:
    resource: "@gleisonnanetDataTablesBundle/Resources/config/routing.xml"

```

### Localization

[](#localization)

```
# app/config/config.yml
gleisonnanet_data_tables:
    localization:
        locale: "%locale%"
        data:
            true: "Jepp"
            false: "Nope"
            datetime: "Y-m-d H:i:s"

```

Usage
-----

[](#usage)

Create a Table definition

```
# AppBundle/DataTable/CustomerTable.php
