Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Threaded comments for Symfony2
Failed to load latest commit information.
Acl PhpDoc fixes for all the comment manager related classes
Command Fixed CS issues
Controller The template expects commentId to be set.
DependencyInjection Fix missing rename
Document PhpDoc fixes for all the comment manager related classes
Entity PhpDoc fixes for all the comment manager related classes
Event Merge pull request #317 from franmomu/unused_use_commentpersist
EventListener Change AccessDeniedHttpException for AccessDeniedException
Form Rename the form types as dots are forbidden in the type names in 2.1
FormFactory Fixing CS
Markup Fixing CS
Model Merge pull request #431 from inssein/master
Resources Removed whitespace in
Sorting Move variable processing into an event object
SpamDetection Fixing CS
Tests Fix tests
Twig Default ACL should be deny for edit and delete
.gitignore Fixed travis.yml to show composer output
.travis.yml Add PHP 5.6 to Travis
Events.php Fixing CS
FOSCommentBundle.php Removed the default compiler pass type
README.markdown README update
UPDATE.markdown Add comment on needed format_listener rule after upgrading
composer.json Bump Symfony requirements
phpunit.xml.dist Exclude additional directories from code coverage



This bundle does not currently have an active maintainer.

The FOSCommentBundle adds support for a comment system in Symfony2. Features include:

  • Manages trees of comments
  • Can include comment threads in any page
  • Compatible with any persistence backend. Doctrine2 mongodb-odm and ORM are implemented.
  • Configurable sorting of the comment tree
  • REST api
  • Extensible through events fired during the comment lifecycle
  • Optional use of Symfony2 Acl to protect comments
  • Optional integration with FOS\UserBundle
  • Optional integration with Akismet_
  • Optional markup parser support (eg HtmlPurifier or php-sundown)


For users of Symfony2.0, you must use the 1.x branch. Master is no longer compatible with Symfony2.0.

For users of Symfony2.3, you must use 2.0.0 or higher of this bundle. Symfony2.1 and 2.2 are not supported anymore.

Build Status


The bulk of the documentation is stored in the Resources/doc/ file in this bundle:

Read the Documentation


All the installation instructions are located in documentation.


This bundle is under the MIT license. See the complete license in the bundle:

Something went wrong with that request. Please try again.