Make tagging of entities a piece of cake.
This branch is for CakePHP 5.0+. For details see version map.
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
See Sandbox @ https://sandbox.dereuromark.de/sandbox/tags
Tutorial and Blog Post: https://www.dereuromark.de/2018/07/12/tutorial-cakephp-tagging/
For documentation, as well as tutorials, see the docs directory of this repository.