happytodev/filament-comments
Filament plugin that adds comment functionality to your admin panel, with current support focused on OrbitPHP. Includes an install command and publishable config to get started quickly, plus tests and changelog for ongoing maintenance.
comments, commentable_models, etc.), requiring migration compatibility checks with existing schemas.CommentResource).composer require happytodev/filament-comments
php artisan vendor:publish --provider="HappyToDev\FilamentComments\FilamentCommentsServiceProvider"
commentable_models table for polymorphic relations).CommentResource in app/Providers/Filament/AdminPanelProvider.php.Comment model/validation (e.g., add is_approved column).filament-comments::comment-form).TestResource).Post) to use comments.commentable_models table structure for rollback.spatie/laravel-commentable).commentable_models (e.g., model_type, model_id).Cache::remember).comments table if scaling horizontally.| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Package stops working post-Filament update | Comments break in admin panel | Fork and maintain locally |
| N+1 queries under load | Slow comment listings | Add eager loads (with(['user', 'replies'])) |
| CSRF/validation bypass | Spam/malicious comments | Add rate-limiting (e.g., throttle) |
| Filament UI conflicts | Comment form breaks | Override Blade templates |
| Data corruption in migrations | Lost comments | Backup DB pre-migration |
How can I help you explore Laravel packages today?