jelmerd / table-helper
TableHelper for CakePHP 3.x
Installs: 456
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 1
Open Issues: 2
Type:cakephp-plugin
Requires
- php: >=5.5.9
- cakephp/cakephp: >=3.0 <4.0.0
- composer/installers: *
Requires (Dev)
- cakephp/cakephp-codesniffer: ^2.2
- phpunit/phpunit: @stable
This package is not auto-updated.
Last update: 2024-05-11 12:34:20 UTC
README
In case the live example is down, you can see the examples here too.
Installation
The easiest way to install the plugin is to use Composer. Install Composer in the app folder of your application and then simply run:
php composer.phar require jelmerd/table-helper
// or if composer is installed globally
composer require jelmerd/table-helper
You can also clone the repository in the Plugin folder:
$ cd src/plugins
$ git submodule add git@github.com:JelmerD/TableHelper.git
Once the plugin is in place, load it in your src/config/bootstrap.php
by adding this line:
Plugin::load('TableHelper'); // when developing via a submodule, use Plugin::load('TableHelper', ['autoload' => true]);
Now to use the Helper, simply load it in your Controller:
public $helpers = array('TableHelper.Table');