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

relaticle/comments

relaticle/comments adds threaded, polymorphic comments to any Laravel Eloquent model. Lightweight and configurable, it handles user attribution, replies, and storage out of the box so you can add discussions to your app in minutes.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature scope: threaded/polymorphic comments with @mentions. The package gives you a ready-made comment layer attachable to arbitrary Eloquent models, including mention parsing and notification-ready mention IDs. This supports decisions like "do we build commenting into our app, and how deep do we go?" — e.g. internal notes on deals/contacts/tickets, activity feeds, or lightweight collaboration on records.
  • Roadmap sequencing: collaboration features. If a comments/activity/mentions surface is on the roadmap as a differentiator or retention driver, this shortens the path from "plan" to "shipped" and frees engineering time for product-specific logic (permissions, UI, notification policy) rather than CRUD plumbing.
  • Build vs. buy for commodity infrastructure. Commenting is rarely a differentiator on its own; the differentiated parts are the UX, the permission model, and how mentions integrate with notifications. Adopting this package is a bet that the underlying storage/mention mechanics are commodity and should be bought, not built.
  • Identity-model decisions. The v1.1.1 fix (mention IDs previously dropped for ULID/UUID commenter keys) is directly relevant if your user model uses UUIDs or ULIDs — increasingly the default in modern Laravel apps. It signals the package treats non-integer keys as supported, which should be factored into decisions about primary-key strategy and about adopting this package on a non-autoincrement schema.
  • Use cases it suits: internal-only notes and annotations, audit-style commentary, support/CRM record threads, and any feature where comments are a supporting surface rather than the core product.
  • Signals to watch: a patch that fixes silent data loss (mention IDs dropped) suggests mention handling has had less coverage than the happy path. That's a prompt to add acceptance tests around mentions in your own integration, not necessarily a reason to avoid the package.

When to Consider This Package

Consider adoption when:

  • You are on Laravel and want comments attached polymorphically to multiple models without designing the schema, mention parsing, and model wiring yourself.
  • Mention support with resolvable commenter IDs is a requirement, and your commenter model may use integer, UUID, or ULID keys — verify v1.1.1 or later specifically, since earlier 1.1.x could drop mention IDs for non-integer keys.
  • You need a small, single-purpose dependency rather than a full social/activity-feed suite; you intend to own the UI, notification dispatch, and authorization layers yourself.
  • Your team is comfortable integrating a package from a smaller vendor and pinning versions, and you can absorb reading the source (it is a compact package) to validate behavior.
  • You want to ship a collaboration surface quickly and treat it as reversible — the data model is simple enough that migrating off is a reasonable exit plan.

Look elsewhere when:

  • You need rich threading, reactions, edit history, moderation, or real-time presence out of the box — evaluate a broader activity/feed solution or build on top.
  • You require enterprise-grade vendor support, SLAs, security review artifacts, or a long release history of stable majors. This is a young package at 1.1.x from a small vendor; the 1.1.1 mention-ID bug is a reminder that edge cases are still being found.
  • Your commenter identity model is exotic (composite keys, external identity providers) — confirm mention key handling explicitly before committing.
  • Comments are the core product surface. If commenting is the differentiator, owning the schema, mention parser, and notification pipeline matters more than the time saved.
  • You have strict data-residency or dependency-vetting requirements that a small package cannot satisfy.

How to Pitch It (Stakeholders)

For executives: This is a small, low-cost Laravel component that provides commenting with @mentions on any record in our application. It lets us put a working collaboration surface — notes, mentions, and record-level discussion — in front of users in a fraction of the time a bespoke build would take, and it keeps engineering focused on the parts customers actually judge us on: the interface, permissions, and notifications. The latest release (v1.1.1) is a bug fix, not a feature change: it corrects a case where mention references were being dropped for accounts using newer UUID/ULID identifier formats. Nothing breaks on upgrade, and it removes a data-integrity edge case before it reaches production.

For engineering: Patch release, no API changes, no deprecations, no migration required. It fixes silent loss of mention IDs when the commenter's key is a ULID or UUID rather than an integer — previously those mentions would not resolve correctly. Upgrade is low risk and recommended. Two asks: pin to ^1.1.1 so we cannot regress onto the buggy behavior, and add an integration test that posts a comment with a mention from a UUID/ULID user and asserts the mention IDs persist and resolve. We own the surrounding concerns — authorization policies, notification fan-out, and the front-end composer — so scope the integration work accordingly, and note this is a 1.x package from a small vendor, so we should read the source for the paths we depend on rather than assume documented behavior.

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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource