Home

Awesome

CakePHP Tags Plugin

CI Coverage Status Latest Stable Version Total Downloads Minimum PHP Version License

Make tagging of entities a piece of cake.

This branch is for CakePHP 5.0+. For details see version map.

Install

Using Composer:

composer require dereuromark/cakephp-tags

You then need to load the plugin. In src/Application.php, something like:

public function bootstrap() {
    parent::bootstrap();
    $this->addPlugin('Tags');
}

Also don't forget to run migration (e.g. using Migrations plugin):

bin/cake migrations migrate -p Tags

Demo

See Sandbox @ https://sandbox.dereuromark.de/sandbox/tags

Tutorial and Blog Post: https://www.dereuromark.de/2018/07/12/tutorial-cakephp-tagging/

Documentation

For documentation, as well as tutorials, see the docs directory of this repository.