本文共 1528 字,大约阅读时间需要 5 分钟。
The FOSCommentBundle adds support for a comment system in Symfony2. Features include:
FOSCommentBundle功能包为Symfony2添加评论系统的支持。功能包含:
Manages trees of comments
评论树管理
Can include comment threads in any page
在任何页面都能包含评论线索
Compatible with any persistence backend. Doctrine2 mongodb-odm and ORM are implemented.
兼容任何持久化后台。Doctrine2 mongodb-odm 和 ORM 都被实现
Configurable sorting of the comment tree
可配置的评论树分类
REST api
REST风格的API
Extensible through events fired during the comment lifecycle
在评论生命周期期间可通过事件进行扩展
Optional use of Symfony2 Acl to protect comments
可使用Symfony2的Acl来保护评论
Optional integration with FOS\UserBundle
可集成FOS\UserBundle(可选)
Optional integration with Akismet
_
可集成Akismat_(可选)
Optional markup parser support (eg HtmlPurifier or php-sundown)
可选的标识解析器支持(如HtmlPurifier或php-sundown)
Note:
注意:
For users of Symfony2.0, you must use the 1.x branch. Master is no longer compatible with Symfony2.0.
对于Symfony2.0的用户而言,您必须使用1.x分支。Master分支不再兼容Symfony2.0。
For users of Symfony2.1, you must use 2.0.0 or higher of this bundle.
对于Symfony2.1用户而言,您需要使用本功能包的2.0.0或再高版本。
The bulk of the documentation is stored in the Resources/doc/index.md
file in this bundle:
文档的大部分被保存在本功能包的 Resources/doc/index.md
文件中:
All the installation instructions are located in .
所有安装说明被放在文档中。
This bundle is under the MIT license. See the complete license in the bundle:
本功能包遵循MIT许可,本功能包的完整许可请参见:
1 | Resources/meta/LICENSE |