PHPackages                             riodwanto/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. riodwanto/filament-logger

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

riodwanto/filament-logger
=========================

Activity logger for filament

v3.0.0(7mo ago)1245MITPHPPHP ^8.1|^8.2

Since Oct 10Pushed 7mo agoCompare

[ Source](https://github.com/riodwanto/filament-logger)[ Packagist](https://packagist.org/packages/riodwanto/filament-logger)[ Docs](https://github.com/riodwanto/filament-logger)[ RSS](/packages/riodwanto-filament-logger/feed)WikiDiscussions 3.x Synced 1mo ago

READMEChangelog (1)Dependencies (14)Versions (2)Used By (0)

Activity Logger for Filament
============================

[](#activity-logger-for-filament)

[![Latest Version on Packagist](https://camo.githubusercontent.com/3494277bf63248ff05fb4ea7cb51dbeea233bb5feef75512ad85da176a4778eb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72696f6477616e746f2f66696c616d656e742d6c6f676765722e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/riodwanto/filament-logger)[![Total Downloads](https://camo.githubusercontent.com/e2f07f1d2c9a1e5caedf82861e74c42c4039aa3ef05070d8c9148fac82b3a559/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72696f6477616e746f2f66696c616d656e742d6c6f676765722e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/riodwanto/filament-logger)

 [![logger banner](https://raw.githubusercontent.com/z3d0x/filament-logger/main/art/banner.jpeg)](https://raw.githubusercontent.com/z3d0x/filament-logger/main/art/banner.jpeg)

A comprehensive activity logging solution for Filament applications, powered by `spatie/laravel-activitylog`. Track user actions, model changes, and system events with a beautiful, configurable interface.

Features
--------

[](#features)

- **📊 Comprehensive Logging**: Track Filament Resource events, user logins, notifications, and custom model events
- **🎨 Beautiful Interface**: Clean, responsive UI with advanced filtering and search capabilities
- **🌍 Multi-language Support**: Available in 19+ languages with easy translation publishing
- **⚙️ Highly Configurable**: Enable/disable specific loggers, customize colors, and configure retention
- **🔍 Advanced Filtering**: Filter by date range, user, event type, and property changes
- **🏢 Multi-tenant Support**: Built-in support for Filament's multi-tenancy features
- **📱 Mobile Responsive**: Optimized for all device sizes
- **🔧 Extensible**: Easy to extend with custom loggers and events

### What Gets Logged

[](#what-gets-logged)

By default, this package logs:

- **Resource Events**: Create, update, delete operations on Filament Resources
- **Access Events**: User login/logout activities with IP and user agent
- **Notification Events**: Sent and failed notification attempts
- **Model Events**: Custom model changes (when configured)

> **Note**: If you want to log models that are not Filament Resources, you'll need to manually register them in the configuration file.

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

[](#installation)

This package uses [spatie/laravel-activitylog](https://spatie.be/docs/laravel-activitylog), instructions for its setup can be found [here](https://spatie.be/docs/laravel-activitylog/v4/installation-and-setup)

### Requirements

[](#requirements)

- PHP 8.1 or higher
- Laravel 8.0 or higher
- Filament 3.x

### Installation

[](#installation-1)

1. **Install the package via Composer:**

```
composer require riodwanto/filament-logger
```

2. **Run the installation command:**

```
php artisan filament-logger:install
```

This command will:

- Publish the configuration file
- Publish migrations from `spatie/laravel-activitylog`
- Set up the necessary database tables

3. **Run the migrations:**

```
php artisan migrate
```

4. **Register the Activity Resource in your Panel Provider:**

```
