relaticle / comments
A full-featured commenting system for Filament panels
Fund package maintenance!
v1.0.0-alpha.6
2026-04-14 19:28 UTC
Requires
- php: ^8.2
- filament/filament: ^4.0|^5.0
- filament/notifications: ^4.0|^5.0
- filament/support: ^4.0|^5.0
- illuminate/database: ^12.0|^13.0
- illuminate/support: ^12.0|^13.0
- livewire/livewire: ^3.5|^4.0
- spatie/laravel-package-tools: ^1.93
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.0
- orchestra/testbench: ^10.0|^11.0
- pestphp/pest: ^3.0|^4.0
- pestphp/pest-plugin-laravel: ^3.0|^4.0
- pestphp/pest-plugin-livewire: ^3.0|^4.0
This package is auto-updated.
Last update: 2026-04-15 14:18:47 UTC
README
A full-featured commenting system for Filament panels with threaded replies, @mentions, emoji reactions, and real-time updates.
Features
- Threaded Replies - Nested comment threads with configurable depth limits
- @Mentions - Autocomplete user mentions with customizable resolver
- Emoji Reactions - 6 built-in reactions with configurable emoji sets
- File Attachments - Image and document uploads with validation
- Notifications & Subscriptions - Database and mail notifications with auto-subscribe
- Multi-tenancy - Built-in tenant isolation for multi-tenant applications
- 3 Filament Integrations - Slide-over action, table action, and infolist entry
Requirements
- PHP: 8.2+
- Laravel: 12+
- Livewire: 3.5+ / 4.x
- Filament: 4.x / 5.x
Getting Started
composer require relaticle/comments
Publish and run migrations:
php artisan vendor:publish --tag=comments-migrations php artisan migrate
Setting Up Your Models
use Relaticle\Comments\Concerns\HasComments; use Relaticle\Comments\Contracts\Commentable; class Project extends Model implements Commentable { use HasComments; }
Register the Filament Plugin
use Relaticle\Comments\CommentsPlugin; public function panel(Panel $panel): Panel { return $panel ->plugins([ CommentsPlugin::make(), ]); }
Add Comments to Your Resources
use Relaticle\Comments\Filament\Actions\CommentsAction; protected function getHeaderActions(): array { return [ CommentsAction::make(), ]; }
Documentation
For complete installation instructions, configuration options, multi-tenancy setup, and examples, visit our documentation.
Contributing
Contributions are welcome! Please see our contributing guide in the documentation.
License
MIT License. See LICENSE for details.
