Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Comments Laravel Package

ronnytorresmtz/comments

A Laravel package that adds polymorphic commenting to your Eloquent models. Attach comments to any model via a simple trait, with migrations, configuration, and a clean API for creating, retrieving, and managing comments.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Multi-tenant collaboration features: The addition of allowToShowAllCompaniesComments() signals the package is designed for SaaS products with company/tenant scoping. This unlocks product decisions around cross-tenant visibility — e.g., whether system admins or support staff should see comments across customer accounts for moderation, escalation, or audit purposes.
  • Role-based visibility in comment/activity feeds: The pairing of showOnlyMyComments() (fixed in this release) with the new admin-wide visibility flag means you can now make genuine product decisions about who sees what — internal-only threads, customer-visible notes, or admin oversight views — without custom forks.
  • Support and operations tooling roadmap: Cross-company comment visibility is a common requirement for customer success and support workflows. This feature can underpin in-app moderation queues, escalation dashboards, or "view as admin" tooling, influencing whether to build internal admin consoles on top of Nova or in a separate portal.
  • Build vs. buy for comments/annotations: If your roadmap includes comment threads, mentions, or activity notes attached to Nova resources, this package now covers a meaningfully broader set of visibility patterns. That shifts the calculus toward buying/leveraging rather than building a bespoke comment model, especially if multi-company scoping is already a core domain concern.
  • Bug-fix impact on existing behavior: The showOnlyMyComments() fix is a correctness change — prior behavior effectively ignored the argument and always behaved as false. PMs should flag this to stakeholders because any product behavior or user expectations built on the broken behavior may change after upgrade (users who should have seen only their own comments may now see more, or vice versa depending on invocation).

When to Consider This Package

Consider it when:

  • You are building on Laravel Nova and need comment/annotation functionality natively in admin or operational panels (this is Nova-specific — not a general Laravel commenting solution).
  • Your product has a multi-company / multi-tenant model and you need visibility rules that distinguish between a user's own comments, their company's comments, and (for system admins) all companies' comments.
  • You need role-differentiated comment visibility without building permission logic from scratch — the new admin-level flag is a direct fit for system administrator oversight.
  • You are comfortable with third-party package dependency in the admin layer, where a bug or breaking change affects internal operators rather than end customers (lower blast radius than customer-facing code).

Look elsewhere when:

  • You are not using Nova — this package has no value outside that ecosystem.
  • You need customer-facing commenting (embedded widgets, public threads) rather than admin-panel comments.
  • You require fine-grained, per-record ACLs, threaded replies, mentions, or notifications beyond simple visibility scoping — this package's surface area appears focused on visibility flags, not a full collaboration suite.
  • You cannot tolerate pre-1.0 semver churn — at v1.0.8, expect ongoing API adjustments and behavior fixes (as evidenced by the showOnlyMyComments correction).

How to Pitch It (Stakeholders)

To executives: This is a small but strategically useful update to a Nova comments package we rely on for internal/admin collaboration. It adds an admin-level "see all companies' comments" capability — directly supporting oversight, moderation, and support workflows across customer accounts — and fixes a visibility bug that previously made the "show only my comments" setting unreliable. Low risk, incremental value, keeps us on the maintained release track.

To engineering: v1.0.8 introduces allowToShowAllComments()-style cross-company visibility intended for system admin users, plus a fix so showOnlyMyComments($flag) honors its argument rather than always evaluating false. Upgrade is low-effort, but audit every call site of showOnlyMyComments — any code or tests written against the old always-false behavior will now behave differently. Add a regression test covering both admin-wide and self-only visibility paths, and confirm the new admin method is gated behind an authorization check so non-admins cannot see cross-company comments.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings