Tagging for CakePHP 3
PHP
Pull request Compare This branch is 4 commits behind UseMuffin:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config/Migrations
src/Model
tests
.editorconfig
.gitattributes
.gitignore
.semver
.travis.yml
LICENSE
README.md
VERSION
composer.json
phpunit.xml.dist

README.md

Tags

Build Status Coverage Total Downloads License

{{@TODO description}}

Install

Using Composer:

composer require muffin/tags:dev-master

You then need to load the plugin. In boostrap.php, something like:

\Cake\Core\Plugin::load('Muffin/Tags');

Usage

{{@TODO documentation}}

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.