定制 muffin/tags 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

muffin/tags

最新稳定版本:2.0.0

Composer 安装命令:

composer require muffin/tags

包简介

Tags plugin for CakePHP

README 文档

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

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

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

统计信息

  • 总下载量: 9.95k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 18
  • 点击次数: 0
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 18
  • Watchers: 4
  • Forks: 16
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-04-18