PHPackages                             waaseyaa/engagement - 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. waaseyaa/engagement

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

waaseyaa/engagement
===================

Social engagement entities (reactions, comments, follows) for Waaseyaa

v0.1.0-alpha.282(1w ago)03.4k↓84.4%1GPL-2.0-or-laterPHPPHP &gt;=8.5

Since Mar 28Pushed 1w agoCompare

[ Source](https://github.com/waaseyaa/engagement)[ Packagist](https://packagist.org/packages/waaseyaa/engagement)[ RSS](/packages/waaseyaa-engagement/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (16)Versions (174)Used By (1)

waaseyaa/engagement
===================

[](#waaseyaaengagement)

**Layer 2 — Content Types**

Social engagement entities for Waaseyaa: reactions, comments, follows.

Provides three content entities (`Reaction`, `Comment`, `Follow`) with their own access policies that respect parent-content visibility — comments on a draft post are not visible to anonymous readers even if the comment itself is public. `EngagementAccessPolicy` enforces the parent-cascade.

### Access model

[](#access-model)

`EngagementAccessPolicy` gates `view` on two conditions (an `administer content` permission bypasses both):

- **Parent-cascade** — an engagement is only as visible as the content it targets (`target_type`/`target_id`). The policy loads the parent and asks the access system whether the caller may `view` it; if it cannot prove the parent is viewable (parent missing, unresolvable, or denied, or the policy was constructed without its `EntityTypeManagerInterface`/`EntityAccessHandler` dependencies), `view` is **denied** (fail-closed). The kernel's two-phase policy discovery injects those dependencies.
- **Comment moderation** — an unpublished comment (`status = false`) is viewable only by its owner.

Create access is authenticated-only; delete is owner-or-admin.

Key classes: `Reaction`, `Comment`, `Follow`, `EngagementAccessPolicy`, `EngagementServiceProvider`.

###  Health Score

51

—

FairBetter than 95% of packages

Maintenance98

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80.8% 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 ~1 days

Total

173

Last Release

10d ago

PHP version history (2 changes)v0.1.0-alpha.65PHP &gt;=8.4

v0.1.0-alpha.176PHP &gt;=8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/25d0ff572e93e3461e5180a920725d65691fd1e15e2d914b254dbbc2d6c393bd?d=identicon)[jonesrussell](/maintainers/jonesrussell)

---

Top Contributors

[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (105 commits)")[![jonesrussell](https://avatars.githubusercontent.com/u/499552?v=4)](https://github.com/jonesrussell "jonesrussell (25 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/waaseyaa-engagement/health.svg)

```
[![Health](https://phpackages.com/badges/waaseyaa-engagement/health.svg)](https://phpackages.com/packages/waaseyaa-engagement)
```

PHPackages © 2026

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