muffin/tags

Tags plugin for CakePHP 3.x

Installs: 8 017

Dependents: 2

Suggesters: 0

Security: 0

Stars: 17

Watchers: 5

Forks: 14

Type:cakephp-plugin

2.0.0-beta 2020-01-22 13:28 UTC

This package is auto-updated.

Last update: 2021-11-24 22:51:25 UTC


README

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

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

  • Fork
  • Mod, fix
  • Test - this is important, so it's not unintentionally broken
  • Commit - do not mess with license, todo, version, etc. (if you do change any, bump them into commits of their own that I can ignore when I pull)
  • Pull request - bonus point for topic branches

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, [Use Muffin] and licensed under The MIT License.