PHPackages                             yiiext/comment-module - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. yiiext/comment-module

ActiveYii-extension[Utility &amp; Helpers](/categories/utility)

yiiext/comment-module
=====================

Module that adds comments to your application. You can add comments on any AR Model you like.

294111[17 issues](https://github.com/yiiext/comment-module/issues)PHP

Since May 9Pushed 13y ago7 watchersCompare

[ Source](https://github.com/yiiext/comment-module)[ Packagist](https://packagist.org/packages/yiiext/comment-module)[ RSS](/packages/yiiext-comment-module/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Comment module
--------------

[](#comment-module)

makes every entity of your application commentable. Features:

- Create, Update, Delete comments with ajax
- Gravatar support
- define multiple models that can be commented
- Events raised on new, update, delete
- more coming soon...

If there is something missing here, or you think one step should be described more detailed, please [report it](https://github.com/yiiext/comment-module/issues/new). Thanks!

Requirements
------------

[](#requirements)

- Tested with Yii 1.1.8, should work in earlier versions
- [yii-gravatar extension](https://github.com/malyshev/yii-gravatar) for gravatar support

Resources
---------

[](#resources)

- Found a bug or want a feature? [Report it on github](https://github.com/yiiext/comment-module/issues)
- [Code on github](https://github.com/yiiext/comment-module)
- E-Mail the author: CeBe &lt;&gt;
- demo on

Download
--------

[](#download)

There are two ways to get this extension working:

1. Clone repo:

    - Go to your application baseDir (`protected` in default yii webapp).
    - `git clone https://github.com/yiiext/comment-module.git extensions/comment-module`
        - If your project is in a git repository you can alternatively add comment-module as a submodule like this:
        - `git submodule add https://github.com/yiiext/comment-module.git protected/extensions/comment-module`
    - go to new comment-modules base dir and run `git submodule update --init` to get the gravatar extension that's included.
2. [Download](https://github.com/yiiext/comment-module/tags) latest release and put all the files into `extensions/comment-module` under your application baseDir (`protected` in default yii webapp). To be able to use Gravatar support you have to copy [YiiGravatar.php](https://github.com/malyshev/yii-gravatar/tree/master/yii-gravatar)into `extensions/comment-module/extensions/gravatar`.

Quickstart
----------

[](#quickstart)

Add module to your application config (optional config values are commented):

```
