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

Comment Bundle Laravel Package

rmzamora/comment-bundle

rmzamora/comment-bundle is a Laravel package for adding comments to Eloquent models. It offers configurable comment models, threaded replies, moderation hooks, and Blade-ready components, making it easy to integrate discussions into existing apps without building comment logic from scratch.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Comment/discussion features in Symfony admin consoles. The package is a thin integration layer that surfaces FOSCommentBundle's threaded comments inside Sonata Admin and Sonata Block — so it informs decisions like "do we let editors moderate comments from the admin panel?" or "do we render a recent-comments block on the dashboard?"
  • Moderation workflow design. If you were scoping approval queues, soft-delete, flagging, or per-thread locking, this bundle's shape (what it wires into Sonata vs. what it leaves to FOSComment) tells you where the seams would be — useful as a reference model even if you don't adopt it.
  • Build vs. buy vs. borrow for a comment subsystem. This is the clearest decision it supports — and the answer lands on build, not buy or borrow. See below.
  • Legacy technical-debt triage. For a team inheriting a Sonata-based application, this bundle is a signal to audit whether commenting is already in the dependency tree and what its removal cost is.
  • Roadmap de-prioritization. It should not appear on any roadmap as a dependency; there is no path to a supported version.

Important scope correction: despite the framing, this is not a Laravel package. It is a Symfony bundle for the Sonata ecosystem (SonataAdminBundle / SonataBlockBundle). Any Laravel team evaluating it is evaluating the wrong artifact; there is zero integration surface with Eloquent, Blade, Livewire, or Laravel's service container.

When to Consider This Package

Adoption criteria are effectively unmet:

  • Only as read-only reference material when porting comment UX into an existing Sonata application already running FOSCommentBundle — and even then, read it, don't depend on it.
  • Only for archaeology on a legacy system to understand why a commenting feature behaves a certain way.
  • Never for new development, and never in a Laravel application.

Reasons to look elsewhere — each individually disqualifying:

  • Archived, with zero stars and zero dependents. No maintainer, no community, no issue triage, no security-response path. A CVE in this code would go unpatched indefinitely.
  • It's a personal fork. The underlying bundle is sonata-project/SonataCommentBundle; you would be pinning a stranger's mirror rather than an upstream.
  • The upstream dependency is itself abandoned. FOSCommentBundle has been unmaintained for years, so un-archiving this wrapper would not restore a supportable stack. The dependency chain is dead at both ends.
  • Framework version drift. It will not run cleanly on Symfony 6/7 or current PHP; making it work is a fork-and-rewrite exercise, not an install.
  • Better alternatives exist at every price point: a maintained Symfony bundle for basic threaded comments, a SaaS commenting product (Disqus-style, or a hosted moderation API) if you need it this quarter, or a first-party implementation if commenting is core to the product.

What would change the answer: essentially nothing short of a maintainer reviving it, publishing releases against supported Symfony versions, and accumulating real dependents. That is not a realistic bet.

How to Pitch It (Stakeholders)

To executives: This is not a viable dependency and we should not build on it. It is an archived, zero-adoption wrapper around a feature that was itself abandoned years ago, sitting on a framework generation we are not on. Adopting it would hand us an unmaintained component in a user-generated-content surface — the highest-risk place to carry unsupported code, because it touches moderation, abuse handling, and data retention. There is no vendor, no maintainer, and no security patch path.

To engineering: The useful insight is the scope, not the code. The wrapper is small — the real work lives in the comment model, threading, moderation state, and notifications. Reimplementing the minimum viable slice (comments on an entity, one level of replies, an approval flag, an admin list view) is a 2–3 day spike, not a project. That is dramatically cheaper than forking an abandoned bundle to run on a modern Symfony, and it leaves us owning something we can secure and extend.

Recommended decision: Do not adopt. If commenting is on the roadmap, allocate a short spike to build the minimal model in-house, or budget for a maintained hosted service if speed matters more than ownership. Record this package as explicitly rejected in our dependency policy so it isn't re-evaluated by the next person who finds it.

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.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
cgv/localized-resource