PHPackages                             micmania1/silverstripe-flagcomments - 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. micmania1/silverstripe-flagcomments

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

micmania1/silverstripe-flagcomments
===================================

Allow users to flag comments

2.0(7y ago)01.0k1BSD-2-ClausePHP

Since Jul 29Pushed 7y ago2 watchersCompare

[ Source](https://github.com/micmania1/silverstripe-flagcomments)[ Packagist](https://packagist.org/packages/micmania1/silverstripe-flagcomments)[ RSS](/packages/micmania1-silverstripe-flagcomments/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

Flag Comments
=============

[](#flag-comments)

This module extends the comments module core functionality and adds the ability for a front-end user to flag a comment.

When a comment has been flagged, it cannot be flagged by anyone else.

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

[](#requirements)

- silverstripe/comments ^3.1
- silverstripe/framework ^4.0

Note: This branch is compatible with SilverStripe 4. For a SilverStripe 3 release, please see the 1.x release line.

Installation
------------

[](#installation)

`composer require nzta/silverstripe-flagcomments`

Configuration
-------------

[](#configuration)

Assuming you've already added comments to your page [as per instructions](https://github.com/silverstripe/silverstripe-comments/blob/master/docs/en/Configuration.md)than all you need to do is enable flagging via config and add the flag to your template.

```
SilverStripe\CMS\Model\SiteTree:
  extensions:
    - 'NZTA\FlagComments\Extensions\FlagCommentsExtension'
  comments:
    can_flag: true

```

Adding the flag to your template:

The endpoint expects an ajax request and only responds with JSON. You'll have to handle this yourself, but to add the flag to your HTML you need to edit the `CommentInterface_singlecomment.ss` template. There's no reason why you can't add this to another template (this is just a helping hand).

```

	Flag

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~824 days

Total

2

Last Release

2746d ago

Major Versions

1.0 → 2.02018-10-31

### Community

Maintainers

![](https://www.gravatar.com/avatar/d34e0654ceb255fa1931492477d5933b052fbc0f3d5ea15fcd01a57cfa5c0018?d=identicon)[micmania1](/maintainers/micmania1)

---

Top Contributors

[![pjayme](https://avatars.githubusercontent.com/u/27745093?v=4)](https://github.com/pjayme "pjayme (6 commits)")[![lukereative](https://avatars.githubusercontent.com/u/1415622?v=4)](https://github.com/lukereative "lukereative (1 commits)")

### Embed Badge

![Health badge](/badges/micmania1-silverstripe-flagcomments/health.svg)

```
[![Health](https://phpackages.com/badges/micmania1-silverstripe-flagcomments/health.svg)](https://phpackages.com/packages/micmania1-silverstripe-flagcomments)
```

###  Alternatives

[silverstripe/multi-domain

Allows multiple domains to access one CMS instance, mapping them to different sections of the hierarchy

141.6k](/packages/silverstripe-multi-domain)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
