Download the PHP package umer936/cakephp-datatables without Composer
On this page you can find all versions of the php package umer936/cakephp-datatables. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download umer936/cakephp-datatables
More information about umer936/cakephp-datatables
Files in umer936/cakephp-datatables
Package cakephp-datatables
Short Description jQuery DataTables for CakePHP 5
License MIT
Homepage https://github.com/umer936/cakephp-datatables
Informations about the package cakephp-datatables
cakephp-datatables
DataTables is a JavaScript library for intelligent HTML tables. Next to adding dynamic elements to the table, it also has great support for on-demand data fetching and server-side processing. DataTables 2 can run without jQuery, and this plugin now targets that vanilla API. The cakephp-datatables plugin makes it easy to use the functionality DataTables provides in your CakePHP 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
php5is for people without PHP 7 and currently stuck at version 1.0
Requirements
- PHP 8.1+
- CakePHP 5.3+
- DataTables 1.x or 2.x
Installation and Usage
Please see the Documentation, esp. the Quick Start tutorial
Virtual fields / computed columns
DataTables can request sorting or searching on columns that are not physical database fields
(for example a computed full_name or price_total).
In this case, delegate filtering and ordering to a custom finder:
Use this pattern whenever a DataTables column cannot be mapped directly to a real table column.
Credits
This work is based on the code by Frank Heider and incorporates code by Xavier Zolezzi.