DataTables Generator

Please Note: Currently in development (alpha).

To make implementation easier, we have created an extension of the Sensio Generator Bundle for DataTables. It basically overrides the CRUD generator so that it will create a DataTables implementation for the index page instead of the standard list.

Install

Add the package brown298/data-tables-generator-bundle to your composer.json

{
    "require": {
        ...
        "brown298/data-tables-generator-bundle": "dev-develop"
    }
}

Configure

Add Brown298DataTablesBuilderBundle to your application kernel

 if (in_array($this->getEnvironment(), array('dev'))) {
    ...
    $bundles[] = new Brown298\DataTablesGeneratorBundle\Brown298DataTablesGeneratorBundle();
    ...
}

How to Use

This should be a simple extension of the base, so all of the existing documentation for the Sensio Bundle should still work. See Sensio Documentation.