r0bdiabl0/laravel-email-tracker-filament
Composer 安装命令:
composer require r0bdiabl0/laravel-email-tracker-filament
包简介
Filament admin panel for Laravel Email Tracker - dashboards, resources, and statistics
README 文档
README
A Filament admin panel plugin for Laravel Email Tracker. Provides dashboard widgets, statistics, and resource pages for managing your email tracking data.
Table of Contents
- Features
- Requirements
- Installation
- Setup
- Dashboard
- Resources
- Statistics Service
- Configuration
- Widgets on Other Dashboards
- Related Packages
- Contributing
- Credits
- License
Features
- Dashboard Widgets - Overview stats, delivery charts, health scores
- Sent Emails Resource - Browse, search, and filter sent emails
- Bounces Resource - View and manage bounce records with severity badges
- Complaints Resource - Track spam complaints
- Statistics Service - Aggregated stats for custom integrations
- Filament v3, v4 & v5 Compatible - Works with latest Filament versions
Requirements
- PHP 8.2+
- Laravel 11.0+
- Filament 3.0+, 4.0+, or 5.0+
- r0bdiabl0/laravel-email-tracker ^1.0
Installation
First, install the main email tracker package if you haven't:
composer require r0bdiabl0/laravel-email-tracker php artisan email-tracker:install
Then install the Filament plugin:
composer require r0bdiabl0/laravel-email-tracker-filament
Optionally publish the config:
php artisan vendor:publish --tag=email-tracker-filament-config
Setup
Register the plugin in your Filament panel provider:
use R0bdiabl0\EmailTrackerFilament\EmailTrackerFilamentPlugin; public function panel(Panel $panel): Panel { return $panel // ... ->plugins([ EmailTrackerFilamentPlugin::make(), ]); }
Customizing the Plugin
EmailTrackerFilamentPlugin::make() ->resources(true) // Enable/disable resource pages ->widgets(true) // Enable/disable dashboard widgets ->dashboard(true) // Enable/disable dedicated dashboard page
Dashboard
The plugin adds an "Email Tracker" dashboard with:
- Stats Overview - Sent, delivered, bounced, complained, opened counts with rates
- Health Score - 0-100 score based on bounce/complaint rates
- Delivery Chart - Daily trends for sent/delivered/bounced
- Recent Activity - Latest bounces and events
Resources
Sent Emails
Browse all tracked emails with:
- Search by recipient or message ID
- Filter by provider, delivery status, bounce status
- View delivery/bounce/complaint status icons
- Batch filtering
Bounces
View bounce records with:
- Permanent vs Transient type badges
- Provider filtering
- Navigation badge showing recent bounce count
Complaints
View spam complaints with:
- Provider filtering
- Link to original sent email
- Navigation badge showing recent complaint count
Statistics Service
Use the Stats service for custom queries:
use R0bdiabl0\EmailTrackerFilament\Services\Stats; // Get summary stats $stats = Stats::make()->getSummary(); // Returns: total_sent, total_delivered, bounce_rate, etc. // Filter by provider $sesStats = Stats::make() ->forProvider('ses') ->lastDays(7) ->getSummary(); // Get daily data for charts $dailyData = Stats::make()->getDailyData(); // Get stats by provider $byProvider = Stats::make()->getByProvider(); // Get health score (0-100) $score = Stats::make()->getHealthScore(); // Get recent activity $activity = Stats::make()->getRecentActivity(15); // Get top bounced emails $topBounces = Stats::make()->getTopBounces(10);
Configuration
// config/email-tracker-filament.php return [ 'navigation' => [ 'group' => 'Email Tracker', 'icon' => 'heroicon-o-envelope', 'sort' => 100, ], 'dashboard' => [ 'enabled' => true, 'path' => 'email-tracker', 'title' => 'Email Tracker', ], 'resources' => [ 'sent_emails' => true, 'bounces' => true, 'complaints' => true, 'opens' => false, // High volume, disabled by default 'links' => false, // High volume, disabled by default ], 'widgets' => [ 'stats_overview' => true, 'delivery_chart' => true, 'recent_activity' => true, 'top_bounces' => true, ], 'default_days' => 30, 'pagination' => [ 'default' => 25, 'options' => [10, 25, 50, 100], ], ];
Widgets on Other Dashboards
Use the widgets on your main Filament dashboard:
use R0bdiabl0\EmailTrackerFilament\Filament\Widgets\EmailStatsOverview; use R0bdiabl0\EmailTrackerFilament\Filament\Widgets\EmailDeliveryChart; public function panel(Panel $panel): Panel { return $panel ->widgets([ EmailStatsOverview::class, EmailDeliveryChart::class, ]); }
Related Packages
- laravel-email-tracker - Main email tracking package (required)
- laravel-email-tracker-nova - Laravel Nova admin panel plugin
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create a feature branch
- Make your changes with tests
- Run
composer testandcomposer format - Submit a pull request
For bugs and feature requests, please open an issue.
Credits
- Robert Pettique - Author and maintainer
License
The MIT License (MIT). Please see License File for more information.
r0bdiabl0/laravel-email-tracker-filament 适用场景与选型建议
r0bdiabl0/laravel-email-tracker-filament 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.31k 次下载、GitHub Stars 达 1, 最近一次更新时间为 2026 年 01 月 10 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「admin」 「plugin」 「email」 「analytics」 「laravel」 「dashboard」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 r0bdiabl0/laravel-email-tracker-filament 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 r0bdiabl0/laravel-email-tracker-filament 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 r0bdiabl0/laravel-email-tracker-filament 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CakePHP 4.x AdminLTE Theme.
2lenet/EasyAdminPlusBundle
Analysis module for finding problematical shop data.
Extensible library for building notifications and sending them via different delivery channels.
Email+ extends Kirby's email capabilities by adding support for multiple email services using the same Kirby email API.
Laravel contact us form package to send email and save to database
统计信息
- 总下载量: 1.31k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 27
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-10