Search by

tomatophp / filament-logger

fadymondy

Log all user activity to file or log driver and preview it on your FilamentPHP panel

Package info

github.com/tomatophp/filament-logger

pkg:composer/tomatophp/filament-logger

Fund package maintenance!

3x1io

Statistics

Installs: 2 379

Dependents: 0

Suggesters: 0

Stars: 15

Open Issues: 0

5.0.0 2026-09-15 06:44 UTC

This package is auto-updated.

Last update: 2026-09-15 06:46:40 UTC


README

Screenshot

Filament logger

Latest Stable Version License Downloads

Log all user activity to file or log driver and preview it on your FilamentPHP panel

Screenshots

Activity Log Activity Log Dark View Activity View Activity Dark Log File

Version Compatibility

Plugin Filament Laravel PHP
1.x (v3 branch) 3.x 10.x | 11.x 8.1+
5.x 5.x 12.x | 13.x 8.2+

Installation

composer require tomatophp/filament-logger

after install your package please run this command

php artisan filament-logger:install

finally register the plugin on /app/Providers/Filament/AdminPanelProvider.php

->plugin(\TomatoPHP\FilamentLogger\FilamentLoggerPlugin::make())

after install please publish the config file by using this command

php artisan vendor:publish --tag="filament-logger-config"

on your filament-logger.php config file please add the guard of user or middleware you went to track

    'guards' => [
        'web',
        'auth:accounts'
    ],

to track your panel

    'guards' => [
        'web',
        'panel:admin'
    ],

where admin is the id of the panel.

Upgrading from 1.x

  • TomatoPHP\FilamentLogger\EventServiceProvider was removed; the package subscribes its request listener itself. If you worked around the duplicate verification emails (#5) with a custom provider or dont-discover, remove it.
  • Run php artisan migrate after updating.

Using

you can add a custom log from anywhere in your code by using this code

use TomatoPHP\FilamentLogger\Facades\FilamentLogger;

FilamentLogger::log(message:'Your message here', level:'info');

Publish Assets

you can publish config file by use this command

php artisan vendor:publish --tag="filament-logger-config"

you can publish languages file by use this command

php artisan vendor:publish --tag="filament-logger-lang"

you can publish migrations file by use this command

php artisan vendor:publish --tag="filament-logger-migrations"

Other Filament Packages

Checkout our Awesome TomatoPHP