Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.16 KB

README.md

File metadata and controls

42 lines (29 loc) · 1.16 KB

TableHelper for CakePHP 3.x

Build Status

Demo and examples

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 [email protected]: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');