Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fawno/cakephp-datatables
https://github.com/fawno/cakephp-datatables
Last synced: about 5 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/fawno/cakephp-datatables
- Owner: fawno
- License: mit
- Created: 2022-10-12T00:09:00.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-10-30T17:34:27.000Z (16 days ago)
- Last Synced: 2024-10-30T18:34:02.678Z (16 days ago)
- Language: PHP
- Size: 174 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
CakePHP 4.x Helpers for DataTables
=================================CakePHP 4.x Helpers to generate HTML with [DataTables](https://datatables.net/)
How to... ?
===========#### Installation
If you want the latest version of the plugin:
- Add the plugin to your `composer.json` (see below if you want to use another branch / version):
```
composer require fawno/cakephp-datatables-helpers:dev-master
// Or the following if you want to use the stable version:
composer require fawno/cakephp-datatables-helpers:@stable
```- Load the plugin in your `src/Application.php`:
```php
$this->addPlugin('DataTables');
```- [Load the helpers](https://book.cakephp.org/4/en/views/helpers.html#configuring-helpers) you want in your `View/AppView.php`:
```php
$this->loadHelper('Table', [
'className' => 'DataTables.Table',
]);
```