Download the PHP package uam/datatables-bundle without Composer
On this page you can find all versions of the php package uam/datatables-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download uam/datatables-bundle
More information about uam/datatables-bundle
Files in uam/datatables-bundle
Package datatables-bundle
Short Description Datatables jquery plugin packaged as a Symfony bundle
License MIT
Homepage https://github.com/opichon/uam-datatables-bundle
Informations about the package datatables-bundle
UAMDatatablesBundle
A symfony 2 bundle that provides a convenient way to include the dataTables jquery plugin in your symfony 2 apps.
This bundle includes release 1.10 of the dataTables plugin. It also includes the plugin's bootstrap-related additions.
Installation
Add the bundle to your project's composer.json
:
Run composer install
or composer update
to install the bundle:
Enable the bundle in the app's kernel:
If your composer.json does not include the post-install or post-update installAssets
script handler, then run the following command:
or
Usage
To learn how to use the dataTables jquery plugin itself, see the plugin's home page at http://www.datatables.net.
To use the bundle itself, simply include the bundle's assets in your templates like you would any other bundle. The dataTables plugin's assets are available under the web/bundles/uamdatatables
directory.
If you use assetic, you need to declare the UAMDatatablesBundle in your config file's assetic
section.
What's included
The bundle currently includes the following assets:
- jquery dataTables plugin release 1.10.6
- dataTables/bootstrap integration plugin
- dataTables/font-awesome integration plugin
The bundle also includes a DatatablesEnabledControllerTrait and associated assets to help you design pages that list DB-entities using dataTables.
How it works
The bundle's assets are managed via bower and gulp.
Adding more assets
If you need more dataTables assets than are currently included, follow this procedure:
- Fork the bundle
- Customize the bower configuration file (
Resources/config/bower.json
):- Add the assets you require in the
overrides|datatables-plugins|main
section - Remove assets you do not require from the
overrides
section
- Add the assets you require in the
- Run
gulp
from the bundle'sResources\config
directory
Licence
This bundle is licensed under the MIT license.
The dataTables jquery plugin is licensed under the MIT license.
Copyright
This bundle is copyright United Asian Management Limited.
The dataTables jquery plugin is copyright Allan Jardine (www.sprymedia.co.uk).
All rights reserved by their respective copyright holders.