Skip to content

Comments Docs

Comments lets a Capell site collect public replies on registered content while keeping moderation, verification, and author records in the admin workflow.

NeedStart Here
Install the packagesrc/Console/Commands/InstallCommentsCommand.php
Register commentable contentsrc/Support/CommentableRegistry.php, src/Actions/RegisterDefaultCommentablesAction.php
Render a public threadsrc/Livewire/CommentThreadComponent.php, src/Actions/ResolvePublicCommentableThreadAction.php
Create and verify commentssrc/Actions/CreateCommentAction.php, src/Actions/VerifyCommentAuthorEmailAction.php
Moderate commentssrc/Filament/Pages/CommentModerationInbox.php, src/Actions/TransitionCommentStatusAction.php
Tune settingsconfig/capell-comments.php, src/Settings/CommentSettings.php
  • Public views must use public thread DTOs, not raw comment models.
  • Do not expose author email, visitor hashes, tokens, commentable IDs, model IDs, moderation status, or admin URLs.
  • Keep public thread responses private and uncached.
  • Keep admin moderation state out of cached frontend HTML.