Skip to content

ypnos-web/cakephp-datatables

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • Versions 4.x are for users of CakePHP 4.0 and above
  • Versions 3.x are for users of CakePHP 3.6 and above
  • Versions 2.x are available for older CakePHP installations, but will not receive new features
  • Version 1.0 is a tag available for people who let their code rot. Consider upgrading by only changing a couple of lines!
  • Branch php5 is for people without PHP 7 and currently stuck at version 1.0

Requirements

  • PHP 7 or 8
  • CakePHP 5.x
  • DataTables 1.x or 2.x

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.

About

CakePHP3 Plugin for DataTables plug-in for jQuery

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 75.2%
  • JavaScript 24.8%