dereuromark / cakephp-tags
CakePHP 标签插件
2.1.0
2024-09-16 02:36 UTC
Requires
- php: >=8.1
- cakephp/cakephp: ^5.0.0
Requires (Dev)
- cakephp/migrations: ^4.0.1
- dereuromark/cakephp-tools: ^3.0.0
- fig-r/psr2r-sniffer: dev-master
- phpunit/phpunit: ^10.2
- robmorgan/phinx: ^0.15
README
让实体标签变得简单易行。
此分支适用于 CakePHP 5.0+。详细信息请参阅 版本映射。
安装
使用 Composer
composer require dereuromark/cakephp-tags
您需要加载此插件。在 src/Application.php
中,例如:
public function bootstrap() { parent::bootstrap(); $this->addPlugin('Tags'); }
同时不要忘记运行迁移(例如使用迁移插件)
bin/cake migrations migrate -p Tags
演示
查看 Sandboxed @ https://sandbox.dereuromark.de/sandbox/tags
指南和博客文章: https://www.dereuromark.de/2018/07/12/tutorial-cakephp-tagging/
文档
对于文档和教程,请参阅此存储库的 docs 目录。