Home

Awesome

Tags

Build Status Coverage Total Downloads License

This plugin allows you to simply tag record in your database with multiple tags.

Install

Using Composer:

composer require muffin/tags

You then need to load the plugin. You can use the shell command:

bin/cake plugin load Muffin/Tags

or by manually adding the following line to src/Application.php:

$this->addPlugin('Muffin/Obfuscate');

Usage

Quick Start Guide

You need to add the column tag_count to the taggable table.

Then migrate the tables for the plugin:

bin/cake migrations migrate -p Muffin/Tags

Add the behavior:

$this->addBehavior('Muffin/Tags.Tag');

And in the view:

echo $this->Form->input('tags');

Enjoy tagging!

Patches & Features

To ensure your PRs are considered for upstream, you MUST follow the CakePHP coding standards.

Bugs & Feedback

http://github.com/usemuffin/tags/issues

License

Copyright (c) 2015-Present, [Use Muffin] and licensed under The MIT License.