https://github.com/relaticle/comments
A Filament comments package with threaded replies, mentions, reactions, file attachments, notifications, and real-time updates
https://github.com/relaticle/comments
Last synced: 3 months ago
JSON representation
A Filament comments package with threaded replies, mentions, reactions, file attachments, notifications, and real-time updates
- Host: GitHub
- URL: https://github.com/relaticle/comments
- Owner: relaticle
- License: mit
- Created: 2026-03-26T19:02:41.000Z (4 months ago)
- Default Branch: 1.x
- Last Pushed: 2026-04-13T19:46:25.000Z (3 months ago)
- Last Synced: 2026-04-13T21:31:33.782Z (3 months ago)
- Language: PHP
- Homepage: https://relaticle.github.io/comments/
- Size: 3.9 MB
- Stars: 15
- Watchers: 0
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# Comments

A full-featured commenting system for Filament panels with threaded replies, @mentions, emoji reactions, and real-time updates.
[](https://packagist.org/packages/relaticle/comments)
[](https://packagist.org/packages/relaticle/comments)
[](https://php.net)
[](https://laravel.com)
[](https://github.com/relaticle/comments/actions)
## 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
```bash
composer require relaticle/comments
```
Publish and run migrations:
```bash
php artisan vendor:publish --tag=comments-migrations
php artisan migrate
```
### Setting Up Your Models
```php
use Relaticle\Comments\Concerns\HasComments;
use Relaticle\Comments\Contracts\Commentable;
class Project extends Model implements Commentable
{
use HasComments;
}
```
### Register the Filament Plugin
```php
use Relaticle\Comments\CommentsPlugin;
public function panel(Panel $panel): Panel
{
return $panel
->plugins([
CommentsPlugin::make(),
]);
}
```
### Add Comments to Your Resources
```php
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](https://relaticle.github.io/comments/).
## Contributing
Contributions are welcome! Please see our [contributing guide](https://relaticle.github.io/comments/) in the documentation.
## License
MIT License. See [LICENSE](LICENSE) for details.