Logger plugin screenshot
Dark mode ready
Multilingual support
Supports v5.x

Logger by Daniel Green

Community

Audit logging for Filament admin panels with activity review, exports, alerts, dashboards, and safer defaults built on Spatie Activitylog.

Tags: Developer Tool Panels Spatie Integration
Supported versions:
5.x 4.x 3.x
Daniel Green avatar Author: Daniel Green

Package health

Automated checks of this plugin's Composer package

80 / 100
Security 64
Maintenance 100
Ecosystem 100
15 checks
  • Failed: GitHub Actions pinned to SHA — View details on Plumb
  • Skipped: GitLab CI includes pinned to SHA
  • Passed: Open security advisories
  • Passed: Dependabot PR responsiveness — No open Dependabot PRs.
  • Skipped: Renovate MR responsiveness
  • Warning: Dependabot or Renovate configured — Updater does not cover the JavaScript ecosystem, which has a committed lockfile.
  • Failed: Dependency update cooldown configured — No cooldown configured in .github/dependabot.yml. View details on Plumb
  • Passed: Provides a security policy
  • Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist, github).
  • Passed: Commit and release recency — Active: last commit 3 days ago; no release date available.
  • Passed: composer.lock not committed by library — composer.lock is absent from the released dist archive.
  • Passed: Dist archive is lean
  • Passed: Current Laravel version supported — Package dependencies resolve together with current Laravel 13.0.
  • Passed: Current PHP version supported — Constraint ^8.2 supports current PHP 8.5.
  • Skipped: Current Symfony version supported
Third-party plugin. This is built by the community, not the Filament team. Filament does not review, endorse, or vet the security of plugins outside the filament/ namespace. Review the source and install at your own risk. Found malware or an unresolved security issue the author won't address? Report it .
Powered by Plumb Last scanned 1 month ago

Documentation

Community-maintained continuation of the original Filament Logger package by Z3d0X.

Latest Version on Packagist Total Downloads Tests PHPStan Docs Quality Gate License

Filament Logger is an audit log and activity log package for Filament admin panels.

Built on spatie/laravel-activitylog, it adds a ready-made Filament activity resource plus automatic logging for resources, models, auth events, notifications, and custom domain events.

Filament Logger package card

Use it when you need to:

  • review admin activity and security events inside Filament
  • export audit data for compliance, support, or incident response
  • trigger alerts for destructive or high-risk actions
  • log custom domain events without building your own audit UI

#Highlights

  • Ready-made Filament audit log resource with searchable filters, structured diffs, saved review tabs, and date presets
  • CSV and JSON exports for filtered audit data
  • Dashboard widgets for top users, top events, activity spikes, and high-risk actions
  • Resource and model lifecycle logging, including create, update, delete, restore, force-delete, and replicate flows
  • Auth event logging for login, logout, failed login, lockout, password reset, and 2FA recovery usage
  • Notification logging plus alerting hooks for mail, Slack, and Discord webhooks
  • Custom event API for domain-specific audit events
  • Sensitive data redaction, anonymized IP logging, and stricter authorization defaults
  • Configurable ignored fields per model and per resource
  • Built-in pruning command for retention by age and log name

#Requirements

Package Version
PHP ^8.2
Filament ^3.0, ^4.3.1, or ^5.0
Laravel contracts ^11.0, ^12.0, or ^13.0
spatie/laravel-activitylog ^4.5 or ^5.0

Filament 4 support starts at 4.3.1 because earlier 4.x releases were affected by an upstream security issue fixed in 4.3.1. See the Filament security advisory and the v4.3.1 release notes.

The package includes compatibility shims for Filament 3.x, 4.x, and 5.x, and the supported range is verified against the CI matrix. If a future Filament release introduces a new breaking API change, a follow-up package update may still be required.

#Quick Start

Install the package:

composer require mradder/filament-logger

Publish config and the Spatie activity log migrations:

php artisan filament-logger:install
php artisan migrate

Register the activity resource in your panel provider:

use Filament\Panel;

public function panel(Panel $panel): Panel
{
    return $panel
        ->resources([
            config('filament-logger.activity_resource'),
        ]);
}

#Documentation

#Filtering By Auth Guard

In multi-guard applications, you can scope access-event logging to specific guards.

Set access.guards to an allow-list:

'access' => [
    // ...
    'guards' => ['web'],
],

Behavior:

  • null (default): log access events from all guards (backward compatible behavior)
  • ['web'] (or any list): for events that include a guard property (Login, Logout, Failed), only the listed guards are logged
  • events without a guard property (Lockout, PasswordReset, and optional Fortify recovery-code events) continue to be logged

Example for a Filament panel + storefront app:

'access' => [
    // Log only panel auth events from the web guard.
    'guards' => ['web'],
],

#Screenshots

Filament Logger dashboard widgets Filament Logger high risk review tab Filament Logger auth issues review tab Filament Logger export menu Filament Logger structured diff view Filament Logger redacted activity diff view Filament Logger redacted changes table

#Changelog

See CHANGELOG for recent changes.

#Contributing

See CONTRIBUTING.md for contribution guidelines and CODE_OF_CONDUCT.md for community expectations.

#Security

Please review SECURITY.md for supported versions and responsible disclosure details. Do not report vulnerabilities through public issues.

#Credits

#License

The MIT License (MIT). See LICENSE.md for details.

The author

Daniel Green avatar Author: Daniel Green

Backend Developer | Automation | Community Systems

I build practical tools, internal automation, and reliable web applications with a focus on maintainable backend systems.

My main stack includes Python, PHP, Laravel, and MySQL, and I enjoy creating software that supports real operational and community needs.

Plugins
1
Stars
17