bitsoftsolutions/filament-reverb-doctor
Composer 安装命令:
composer require bitsoftsolutions/filament-reverb-doctor
包简介
A Filament 3.x plugin for Laravel Reverb Doctor - Visual dashboard for WebSocket diagnostics
README 文档
README
A beautiful Filament 3.x plugin that provides a visual dashboard for diagnosing Laravel Reverb WebSocket configuration issues.
Features
- Visual Dashboard: Beautiful Filament-native UI showing all diagnostic results
- Dashboard Widget: Quick health status widget for your Filament dashboard
- 10 Diagnostic Checks: Comprehensive checks inherited from Laravel Reverb Doctor
- Real-time Feedback: Loading states and notifications for better UX
- Fully Configurable: Customize navigation, authorization, and appearance
- Dark Mode Support: Seamless integration with Filament's dark mode
Diagnostic Checks
The plugin runs 10 comprehensive checks:
| Check | Description |
|---|---|
| Reverb Installed | Verifies Laravel Reverb package is installed |
| Environment Variables | Checks all required REVERB_* env vars are set |
| Config Published | Ensures reverb.php config file exists |
| Broadcasting Driver | Validates BROADCAST_CONNECTION is set to 'reverb' |
| App Config | Checks Reverb app configuration (id, key, secret) |
| Server Config | Validates server host and port settings |
| Queue Connection | Ensures queue connection is properly configured |
| SSL Configuration | Checks SSL/TLS settings consistency |
| Server Connectivity | Tests actual connection to Reverb server |
| Port Availability | Verifies configured port is not blocked |
Requirements
- PHP 8.1+
- Laravel 10.x, 11.x, or 12.x
- Filament 3.x
- Laravel Reverb (for meaningful diagnostics)
Installation
Install the package via Composer:
composer require bitsoftsolutions/filament-reverb-doctor
The package will automatically install laravel-reverb-doctor as a dependency.
Setup
1. Register the Plugin
Add the plugin to your Filament Panel Provider:
// app/Providers/Filament/AdminPanelProvider.php use Bitsoftsolutions\FilamentReverbDoctor\FilamentReverbDoctorPlugin; public function panel(Panel $panel): Panel { return $panel // ... other configurations ->plugin(FilamentReverbDoctorPlugin::make()); }
2. Publish Configuration (Optional)
php artisan vendor:publish --tag="filament-reverb-doctor-config"
Usage
Dashboard Page
Navigate to Reverb Health in your Filament admin panel sidebar (under the "System" group by default). Click the "Run Diagnostics" button to execute all checks.
Dashboard Widget
The plugin automatically adds a compact widget to your Filament dashboard showing quick health status. Click "Run Check" to execute diagnostics or "View Details" to go to the full dashboard.
Configuration
The published config file (config/filament-reverb-doctor.php) offers extensive customization:
return [ /* |-------------------------------------------------------------------------- | Navigation |-------------------------------------------------------------------------- */ 'navigation' => [ 'enabled' => true, // Show/hide from navigation 'group' => 'System', // Navigation group (null for no group) 'icon' => 'heroicon-o-heart', // Heroicon name 'sort' => 100, // Sort order in navigation 'label' => 'Reverb Health', // Navigation label ], /* |-------------------------------------------------------------------------- | Widget |-------------------------------------------------------------------------- */ 'widget' => [ 'enabled' => true, // Show/hide dashboard widget 'sort' => 10, // Widget sort order ], /* |-------------------------------------------------------------------------- | Authorization |-------------------------------------------------------------------------- */ 'authorization' => [ // Require a specific permission 'permission' => null, // e.g., 'view-reverb-doctor' // Use a gate for authorization 'gate' => null, // e.g., 'viewReverbDoctor' // Custom callback 'callback' => null, // e.g., [App\Policies\ReverbPolicy::class, 'viewDashboard'] ], /* |-------------------------------------------------------------------------- | Appearance |-------------------------------------------------------------------------- */ 'appearance' => [ 'show_suggestions' => true, // Show fix suggestions column 'show_details' => true, // Show technical details ], ];
Authorization Examples
Using Permissions (Spatie Permission)
// config/filament-reverb-doctor.php 'authorization' => [ 'permission' => 'view-reverb-diagnostics', ],
Using Gates
// app/Providers/AuthServiceProvider.php Gate::define('viewReverbDoctor', function ($user) { return $user->isAdmin(); }); // config/filament-reverb-doctor.php 'authorization' => [ 'gate' => 'viewReverbDoctor', ],
Using Custom Callback
// config/filament-reverb-doctor.php 'authorization' => [ 'callback' => function () { return auth()->user()?->email === 'admin@example.com'; }, ],
Screenshots
Dashboard Page
Full diagnostic dashboard showing all check results with status, messages, and suggestions.
Dashboard Widget
Compact widget showing quick health status with run/re-run functionality.
CLI Alternative
For command-line diagnostics, check out Laravel Reverb Doctor:
php artisan reverb:doctor
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Contributions are welcome! Please see CONTRIBUTING for details.
Security
If you discover any security-related issues, please email hafiz@bitsoftsolutions.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
bitsoftsolutions/filament-reverb-doctor 适用场景与选型建议
bitsoftsolutions/filament-reverb-doctor 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 12 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「websocket」 「plugin」 「laravel」 「dashboard」 「diagnostics」 「health-check」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 bitsoftsolutions/filament-reverb-doctor 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 bitsoftsolutions/filament-reverb-doctor 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 bitsoftsolutions/filament-reverb-doctor 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CakePHP 4.x AdminLTE Theme.
WebSocket view engine
Plugin for YOURLS. Default tools to use in some laemmi plugins
Alfabank REST API integration
This is a PHP Framework base on Swoole
PHP Binance API is an asynchronous PHP library for the Binance API designed to be easy to use.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 20
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-08