PHPackages                             benjaminhansen/filament-logger - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. benjaminhansen/filament-logger

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

benjaminhansen/filament-logger
==============================

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

v1.0.4(5mo ago)05MITPHPPHP ^8.1|^8.2

Since Dec 2Pushed 5mo agoCompare

[ Source](https://github.com/benjaminhansen/filament-logger)[ Packagist](https://packagist.org/packages/benjaminhansen/filament-logger)[ GitHub Sponsors](https://github.com/3x1io)[ RSS](/packages/benjaminhansen-filament-logger/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (5)Versions (6)Used By (0)

Filament logger
===============

[](#filament-logger)

[![Latest Stable Version](https://camo.githubusercontent.com/1f72bfd370641a82e85a4c9d1c0eccc0af76805ad476ebc84f9b4d3ae81e8ebb/68747470733a2f2f706f7365722e707567782e6f72672f746f6d61746f7068702f66696c616d656e742d6c6f676765722f76657273696f6e2e737667)](https://packagist.org/packages/benjaminhansen/filament-logger)[![License](https://camo.githubusercontent.com/473c791e9635e53cdd739602a07d82f9b0266d650f554feb2f355e91e326469b/68747470733a2f2f706f7365722e707567782e6f72672f746f6d61746f7068702f66696c616d656e742d6c6f676765722f6c6963656e73652e737667)](https://packagist.org/packages/benjaminhansen/filament-logger)[![Downloads](https://camo.githubusercontent.com/9887e8517b2312589b9c3e13eb1801e60a431acabfc2c21809d2f49b72434f0b/68747470733a2f2f706f7365722e707567782e6f72672f746f6d61746f7068702f66696c616d656e742d6c6f676765722f642f746f74616c2e737667)](https://packagist.org/packages/benjaminhansen/filament-logger)

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

Screenshots
-----------

[](#screenshots)

[![Logger](https://raw.githubusercontent.com/tomatophp/filament-logger/master/arts/logger.png)](https://raw.githubusercontent.com/tomatophp/filament-logger/master/arts/logger.png)[![View Log](https://raw.githubusercontent.com/tomatophp/filament-logger/master/arts/view-log.png)](https://raw.githubusercontent.com/tomatophp/filament-logger/master/arts/view-log.png)[![Log File](https://raw.githubusercontent.com/tomatophp/filament-logger/master/arts/log-file.png)](https://raw.githubusercontent.com/tomatophp/filament-logger/master/arts/log-file.png)

Installation
------------

[](#installation)

```
composer require benjaminhansen/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(\BenjaminHansen\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.

Using
-----

[](#using)

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

```
use BenjaminHansen\FilamentLogger\Facades\FilamentLogger;

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

Publish Assets
--------------

[](#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"
```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance72

Regular maintenance activity

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 56.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

5

Last Release

161d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ac0d1695abbb15119d36a62efc555e66406f6d4396a6bc81814ec3eff417312c?d=identicon)[benjaminhansen](/maintainers/benjaminhansen)

---

Top Contributors

[![fadymondy](https://avatars.githubusercontent.com/u/11937812?v=4)](https://github.com/fadymondy "fadymondy (9 commits)")[![benjaminhansen](https://avatars.githubusercontent.com/u/17499722?v=4)](https://github.com/benjaminhansen "benjaminhansen (7 commits)")

---

Tags

phplaravelloggerfilament-pluginfilamentphp

### Embed Badge

![Health badge](/badges/benjaminhansen-filament-logger/health.svg)

```
[![Health](https://phpackages.com/badges/benjaminhansen-filament-logger/health.svg)](https://phpackages.com/packages/benjaminhansen-filament-logger)
```

###  Alternatives

[tomatophp/filament-logger

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

162.2k](/packages/tomatophp-filament-logger)[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

205144.8k5](/packages/bezhansalleh-filament-google-analytics)[prettus/laravel-request-logger

HTTP request logger middleware for Laravel

24646.6k1](/packages/prettus-laravel-request-logger)[tomatophp/filament-types

Manage any type on your app in Database with easy to use Resource for FilamentPHP

5616.7k8](/packages/tomatophp-filament-types)[tomatophp/filament-api

Generate APIs from your filament resource using single line of code

507.1k1](/packages/tomatophp-filament-api)[alizharb/filament-activity-log

A powerful, feature-rich activity logging solution for FilamentPHP v4 &amp; v5 with timeline views, dashboard widgets, and revert actions.

2326.6k](/packages/alizharb-filament-activity-log)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
