Comments
Package docs status
Section titled “Package docs status”This page is generated from package source documentation in the Capell packages repository and the checked-in manifest. Source documentation is not distribution status. Before running a Composer command, verify that the exact package and compatible 1.x release are available through public Packagist or the authenticated marketplace account.
| Field | Value |
|---|---|
| Composer package | capell-app/comments |
| Package slug | comments |
| Product group | Capell Engagement & CRM |
| Tier | premium |
| Bundle | engagement-crm |
| Runtime contexts | admin, frontend |
| Capell version | ^1.0 |
| Catalogue role | extension |
| Release channel | Beta |
| Source repository | capell-app/packages |
| Source path | packages/comments |
| Docs source | packages/comments/docs |
| Manifest | capell.json |
What This Plugin Adds
Section titled “What This Plugin Adds”Comments is an Available, Schema-owning Capell package in the Capell Engagement & CRM product group. It ships as capell-app/comments and extends these surfaces: admin, frontend.
Comments adds threaded public discussions with author verification, moderation, reactions, reply notifications, and privacy retention controls.
Visitors read and reply to approved threads, while editors review comments, authors, spam, and moderation history in the admin.
Status details:
- Status: Available
- Tier: premium
- Bundle: engagement-crm
- Composer package:
capell-app/comments - Namespace:
Capell\Comments - Theme key: not applicable
Why It Matters
Section titled “Why It Matters”For developers: A commentable registry and focused Actions provide extension points for new content types while keeping public thread building and moderation rules testable.
For teams: Editors can control what becomes public and retain a record of moderation decisions, while retention tools support privacy operations.
Screens And Workflow
Section titled “Screens And Workflow”Screenshot contract: docs/screenshots.json.


- Comment moderation inbox (frontend, required evidence).
- Comments admin resource (admin, required evidence).
- Comment authors admin resource (admin, required evidence).
- Public comment thread (frontend, required evidence).
- Public comment thread closed state (frontend, supplementary evidence).
- Comment stats dashboard widget (admin, supplementary evidence).
- Comment reply notification email preview (email, supplementary evidence).
- Comments admin resource with admin sidebar menu open (admin, supplementary evidence).
Technical Shape
Section titled “Technical Shape”Service providers
Section titled “Service providers”Capell\Comments\Providers\CommentsServiceProviderCapell\Comments\Providers\AdminServiceProviderCapell\Comments\Providers\FrontendServiceProvider
Config files
Section titled “Config files”packages/comments/config/capell-comments.php
Migrations
Section titled “Migrations”packages/comments/database/migrations/2026_05_24_000001_create_comment_authors_table.phppackages/comments/database/migrations/2026_05_24_000002_create_comments_table.phppackages/comments/database/migrations/2026_05_24_000003_create_comment_tokens_table.phppackages/comments/database/migrations/2026_05_24_000004_create_comment_moderation_events_table.phppackages/comments/database/migrations/2026_05_24_000006_add_reply_notification_opt_out_to_comment_authors_table.phppackages/comments/database/migrations/2026_05_24_000007_create_comment_reactions_table.phppackages/comments/database/migrations/2026_09_29_120000_remove_implicit_timestamp_updates_from_comments.php
Settings migrations
Section titled “Settings migrations”packages/comments/database/settings/2026_05_24_000005_create_comments_settings.php
Settings classes
Section titled “Settings classes”CommentSettings
Models
Section titled “Models”CommentCommentAuthorCommentModerationEventCommentReactionCommentToken
Filament classes
Section titled “Filament classes”CommentModerationInboxCommentAuthorResourceListCommentAuthorsCommentResourceListCommentsCommentsTableCommentSettingsSchemaCommentsDashboardSettingsContributorCommentStatsFilamentWidgetLatestCommentsFilamentWidget
Livewire components
Section titled “Livewire components”CommentThreadComponent
Route files
Section titled “Route files”packages/comments/routes/web.php
Policies
Section titled “Policies”CommentAuthorPolicyCommentPolicy
Extension contracts
Section titled “Extension contracts”CommentSpamProvider
Events
Section titled “Events”CommentCreated
Listeners
Section titled “Listeners”NotifyModeratorsOfNewComment
Actions
Section titled “Actions”ApplyCommentPrivacyRetentionActionBuildCommentPrivacyExportActionBuildPublicThreadActionCommentModerationEventActionCreateCommentActionDisableCommentAuthorReplyNotificationsActionEraseCommentPrivacyDataActionInstallCommentsPackageActionInvalidateCommentableCacheActionListCommentableTypeOptionsActionRegisterCommentEmailTemplatesActionRegisterDefaultCommentablesActionRequestCommentEmailVerificationActionRequestCommentReplyNotificationActionResolveCommentPrivacyRecordIdsActionResolveCommentableFromPayloadActionResolvePublicCommentableThreadActionScoreCommentSpamActionToggleCommentReactionActionTransitionCommentStatusActionUpdateCommentAuthorModerationActionVerifyCommentAuthorEmailAction
Data objects
Section titled “Data objects”CommentEmailTemplateDataCommentPrivacyRecordIdsDataCommentPrivacyRetentionResultDataCommentReactionResultDataCommentSpamCheckDataCommentSpamReasonDataCommentSpamScoreDataCommentableTypeDataCreateCommentDataPublicCommentDataPublicCommentableThreadData
Command signatures
Section titled “Command signatures”capell-comments:installcapell-comments:privacy-retention
Manifest action API
Section titled “Manifest action API”applyPrivacyRetention: Capell\Comments\Actions\ApplyCommentPrivacyRetentionActiondisableReplyNotifications: Capell\Comments\Actions\DisableCommentAuthorReplyNotificationsActioninstall: Capell\Comments\Actions\InstallCommentsPackageActionrequestReplyNotification: Capell\Comments\Actions\RequestCommentReplyNotificationActionscoreSpam: Capell\Comments\Actions\ScoreCommentSpamActiontoggleReaction: Capell\Comments\Actions\ToggleCommentReactionAction
Console command classes
Section titled “Console command classes”InstallCommentsCommandPruneCommentPrivacyDataCommand
Manifest contributions
Section titled “Manifest contributions”admin-resource: Capell\Comments\Manifest\CommentAdminResourcesContributiondashboard-widget: Capell\Comments\Manifest\CommentDashboardFilamentWidgetsContributionfrontend-component: Capell\Comments\Manifest\CommentFrontendComponentsContributionmigration: Capell\Comments\Manifest\CommentsMigrationsContributionmodel: Capell\Comments\Manifest\CommentModelsContributionroute: Capell\Comments\Manifest\CommentRoutesContributionsetting: Capell\Comments\Manifest\CommentSettingsContribution
Health checks
Section titled “Health checks”Capell\Comments\Health\CommentsHealthCheck
Blade views
Section titled “Blade views”packages/comments/resources/views/emails/approved.blade.phppackages/comments/resources/views/emails/pending-moderation.blade.phppackages/comments/resources/views/emails/rejected.blade.phppackages/comments/resources/views/emails/reply-notification.blade.phppackages/comments/resources/views/emails/verify-email.blade.phppackages/comments/resources/views/filament/comment-context.blade.phppackages/comments/resources/views/filament/moderation-inbox.blade.phppackages/comments/resources/views/livewire/partials/comment-list.blade.phppackages/comments/resources/views/livewire/thread-livewire.blade.phppackages/comments/resources/views/livewire/thread-shell.blade.phppackages/comments/resources/views/livewire/thread.blade.phppackages/comments/resources/views/reply-notifications-disabled.blade.phppackages/comments/resources/views/verify-email.blade.php
Cache tags
Section titled “Cache tags”comments
Data Model
Section titled “Data Model”- Required tables:
comment_authors,comments,comment_tokens,comment_moderation_events,comment_reactions. - Models:
Comment,CommentAuthor,CommentModerationEvent,CommentReaction,CommentToken. - Core record references in migrations:
sites via site_id,languages via language_id,users via user_id. - Migration files:
2026_05_24_000001_create_comment_authors_table.php,2026_05_24_000002_create_comments_table.php,2026_05_24_000003_create_comment_tokens_table.php,2026_05_24_000004_create_comment_moderation_events_table.php,2026_05_24_000006_add_reply_notification_opt_out_to_comment_authors_table.php,2026_05_24_000007_create_comment_reactions_table.php,2026_09_29_120000_remove_implicit_timestamp_updates_from_comments.php. - Migration impact: run host migrations through the package install flow before opening package surfaces.
- Deletion/retention behaviour: migrations declare cascade-on-delete relationships and null-on-delete relationships; no timed pruning or retention schedule is declared in
capell.json.
Install Impact
Section titled “Install Impact”- Required packages:
capell-app/admin,capell-app/core,capell-app/frontend. - Admin navigation: declares
admin-resource: CommentAdminResourcesContribution; each Filament page or resource controls its own navigation visibility. - Admin/editor extensions:
dashboard-widget: CommentDashboardFilamentWidgetsContribution. - Permissions:
ViewAny:Comment,View:Comment,Update:Comment,Approve:Comment,Delete:Comment,ViewAny:CommentAuthor,View:CommentAuthor,Update:CommentAuthor; access also governed by package policies:CommentAuthorPolicy,CommentPolicy. - Public routes: loads
routes/web.php; registersCommentRoutesContribution. - Database changes: package migrations are declared.
- Config:
config/capell-comments.php. - Settings:
Capell\Comments\Settings\CommentSettings. - Queues or schedules: none declared.
- Cache tags:
comments. - Commands:
capell-comments:install,capell-comments:privacy-retention.
Common Pitfalls
Section titled “Common Pitfalls”- Keep required Capell packages on compatible v4 releases:
capell-app/admin,capell-app/core,capell-app/frontend. - Run migrations before opening package resources or public routes.
- Review package configuration before production-like verification:
config/capell-comments.php,Capell\Comments\Settings\CommentSettings. - Review middleware, throttling, signatures, and public-output safety in
routes/web.phpbefore exposing routes. - Keep public Blade and cached HTML free of authoring markers, model IDs, permissions, signed editor URLs, and lazy database queries.
- Custom write integrations must preserve invalidation for
commentscache tags.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Likely cause | Check | Fix |
|---|---|---|---|
| Package surface is missing after install | Provider or manifest is not loaded | Confirm capell.json, package composer.json, and provider registration | Reinstall the package, refresh Composer autoload, and clear host caches |
| Admin screen or command fails on missing table | Package migrations have not run | Check the tables listed in Data Model | Run host migrations and rerun the focused package test |
| Route returns unexpected output | Route cache, middleware, or signed URL setup does not match the package route file | Check the route files listed in Technical Shape | Clear route cache and verify middleware before exposing public routes |
| Public output leaks unexpected state | Render data, cache variation, or authoring boundary has regressed | Check public Blade, cache tags, and public-output safety tests | Move data loading out of Blade and rerun the package public-output tests |
Quick Start
Section titled “Quick Start”- Install the package:
composer require capell-app/comments. - Run the package setup:
php artisan capell-comments:install. - Open the package admin surface at
/admin/commentsand confirm Comments is available.
Next Steps
Section titled “Next Steps”- Package docs
- Overview
- Worked extension examples
- Admin guide
- Configuration files:
config/capell-comments.php. - Troubleshooting
- Screenshot contract
- Marketplace assets
- Capell content language plan
- Capell documentation design system
- Capell and package ERD notes
- Related packages: Blog, Email Studio, Html Cache.