raseldev99/filament-messages
Composer 安装命令:
composer require raseldev99/filament-messages
包简介
Filament Messages is a powerful messaging plugin for FilamentPHP. It provides an easy-to-use interface for real-time messaging within Filament admin panels.
README 文档
README
Filament Messages is a powerful messaging plugin for FilamentPHP. It provides an easy-to-use interface for real-time messaging within Filament admin panels.
Key Features:
- Seamless Integration: Designed specifically for FilamentPHP, making it easy to integrate into your admin panel.
- User-to-User & Group Chats: Enables both private conversations and group discussions.
- Unread Message Badges: Displays unread message counts in the sidebar for better visibility.
- File Attachments: Allows sending images, documents, and other media.
- Database-Driven: Uses Eloquent models for structured and scalable messaging.
- Configurable Refresh Interval: Lets you set the chat update frequency for optimized performance.
- Timezone Support: Allows setting a preferred timezone to maintain consistent timestamps across messages.
Table of Contents
Getting Started
Prerequisite
User Model
Admin Panel Provider
Plugins Used
Acknowledgments
Support
Getting Started
You can install the package via Composer:
composer require raseldev99/filament-messages
Run this command to install all migrations and configurations.
php artisan filament-messages:install
Prerequisite
This plugin utilizes Filament Spatie Media Library. Please follow the steps below.
Install the plugin with Composer:
composer require filament/spatie-laravel-media-library-plugin:"^3.2" -W
If you haven't already done so, you need to publish the migration to create the media table:
php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="medialibrary-migrations"
Run the migrations:
php artisan migrate
Or follow the documentation here.
User Model
Add the trait to your User model:
<?php use Raseldev99\FilamentMessages\Models\Traits\HasFilamentMessages; class User extends Authenticatable { use HasFilamentMessages; } ?>
Admin Panel Provider
Add this plugin to your FilamentPHP panel provider:
<?php use Raseldev99\FilamentMessages\FilamentMessagesPlugin; class AdminPanelProvider extends PanelProvider { public function panel(Panel $panel): Panel { return $panel ->plugins([ FilamentMessagesPlugin::make() ]); } } ?>
Plugins Used
These are Filament Plugins use for this project.
| Plugin | Author |
|---|---|
| Filament Spatie Media Library | Filament Official |
Acknowledgments
Support
Show Your Support
Give a ⭐️ if this project helped you!
raseldev99/filament-messages 适用场景与选型建议
raseldev99/filament-messages 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 244 次下载、GitHub Stars 达 6, 最近一次更新时间为 2025 年 03 月 21 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「chat」 「laravel」 「admin-panel」 「messages」 「filament」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 raseldev99/filament-messages 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 raseldev99/filament-messages 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 raseldev99/filament-messages 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
This simple PHP class allows you to easily generate Smartsupp.com JS chat code.
Client for the REST API plugin of the OpenFire Server
The Yii2 extension module to chat registered users.
Alfabank REST API integration
统计信息
- 总下载量: 244
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-03-21


