z3d0x/filament-logger
最新稳定版本:v0.8.0
Composer 安装命令:
composer require z3d0x/filament-logger
包简介
Activity logger for filament
README 文档
README
Warning
This package is no longer maintained.
If you’re interested in taking over maintenance, feel free to fork the repository.
Activity logger for filament
Configurable activity logger for filament.
Powered by spatie/laravel-activitylog
Features
You can choose what you want to log and how to log it.
- Log Filament Resource Events
- Log Login Event
- Log Notification Events
- Log Model Events
- Easily extendable to log custom events
Note: By default this package will log Filament Resource Events, Access(Login) Events, and Notification Events. If you want to log a model that is not a FilamentResource you will have to manually register in the config file.
Installation
| Plugin Version | Filament Version |
|---|---|
| < 0.5.x | ^2.11 |
| >= 0.6.0 | 3.x |
This package uses spatie/laravel-activitylog, instructions for its setup can be found here
You can install the package via composer:
composer require z3d0x/filament-logger
After that run the install command:
php artisan filament-logger:install
This will publish the config & migrations from spatie/laravel-activitylog
For Filament v3, you need to register a resource in PanelProvider
public function panel(Panel $panel): Panel { return $panel ->resources([ config('filament-logger.activity_resource') ]); }
Authorization
To enforce policies on ActivityResource, after generating a policy, you would need to register Spatie\Activitylog\Models\Activity to use that policy in the AuthServiceProvider.
<?php namespace App\Providers; use App\Policies\ActivityPolicy; use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; use Spatie\Activitylog\Models\Activity; class AuthServiceProvider extends ServiceProvider { protected $policies = [ // Update `Activity::class` with the one defined in `config/activitylog.php` Activity::class => ActivityPolicy::class, ]; //... }
If you are using Shield just register the ActivityPolicy generated by it
Translations
Publish the translations using:
php artisan vendor:publish --tag="filament-logger-translations"
Activity Model resolution
The main Activity class being used by the Filament Resource instance will be resolved by Spatie's service provider, which loads the model defined by the configuration key found at activitylog.activity_model in config/activitylog.php.
Screenshots
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
z3d0x/filament-logger 适用场景与选型建议
z3d0x/filament-logger 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 393.42k 次下载、GitHub Stars 达 383, 最近一次更新时间为 2026 年 01 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「Z3d0X」 「filament-logger」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 z3d0x/filament-logger 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 z3d0x/filament-logger 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 z3d0x/filament-logger 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Block-Based Page Builder Skeleton for your Filament Apps
Activity logger for filament
Audit logging, activity tracking, exports, alerts, and dashboards for Filament admin panels.
Activity logger for filament
Activity logger for filament
Activity logger for filament
统计信息
- 总下载量: 393.42k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 384
- 点击次数: 15
- 依赖项目数: 11
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04



