ypnos-web / cakephp-datatables

CakePHP3 Plugin for DataTables plug-in for jQuery
MIT License
27 stars 24 forks source link
cakephp-plugin cakephp3 datatables

cakephp-datatables

DataTables is a jQuery plugin for intelligent HTML tables. Next to adding dynamic elements to the table, it also has great supports for on-demand data fetching and server-side processing. The cakephp-datatables plugin makes it easy to use the functionality DataTables provides in your CakePHP 3 application. It consists of a helper to add DataTables to your view and a Component to transparently process AJAX requests made by DataTables.

Versioning

Requirements

Installation and Usage

Please see the Documentation, esp. the Quick Start tutorial

Credits

This work is based on the code by Frank Heider and incorporates code by Xavier Zolezzi.


IMPORTANT SECURITY NOTICE for users prior to Oct 24, 2017

The original code by fheider is vulnerable to SQL injection attacks, which was made apparent by a recent addition to the CakePHP documentation. The vulnerability is fixed by a breaking change in all branches in this repository. It affects the ordering and filtering functionality of DataTables in conjunction with server-side processing. If you are using a prior version of this plugin, you need to update it immediately and, if needed, change your code to allow ordering and filtering with server-side processing.