PHPackages                             ejoi8/filament-email-logs - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. ejoi8/filament-email-logs

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

ejoi8/filament-email-logs
=========================

Email log viewer and resend tools for Filament panels.

v1.0.0(1mo ago)0158—4.2%MITPHPPHP ^8.3

Since Apr 27Pushed 1mo agoCompare

[ Source](https://github.com/ejoi8/filament-email-logs)[ Packagist](https://packagist.org/packages/ejoi8/filament-email-logs)[ Docs](https://github.com/ejoi8/filament-email-logs)[ RSS](/packages/ejoi8-filament-email-logs/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (6)Versions (2)Used By (0)

Filament Email Logs
===================

[](#filament-email-logs)

Filament Email Logs is a Filament v5 plugin for Laravel 13 that records sent emails, shows them in a Filament resource, and lets administrators resend them to the original or corrected recipients.

- Source: `https://github.com/ejoi8/filament-email-logs`
- Issues: `https://github.com/ejoi8/filament-email-logs/issues`

Features
--------

[](#features)

- Logs outgoing emails from Laravel's mail system
- Lists email logs inside a Filament panel
- Shows HTML and plain-text email content
- Resends a logged email to the original recipients
- Resends to corrected recipients when an email address was wrong
- Tracks resend lineage, resend count, resend note, and resent-by user

Requirements
------------

[](#requirements)

- PHP 8.3+
- Laravel 13+
- Filament 5.4+

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

[](#installation)

### Composer

[](#composer)

If you publish this package to a VCS repository or Packagist:

```
composer require ejoi8/filament-email-logs
```

For local development, you can also install it through a Composer path repository.

### Migrations

[](#migrations)

Run the package migrations:

```
php artisan migrate
```

### Optional: publish config

[](#optional-publish-config)

```
php artisan vendor:publish --tag=filament-email-logs-config
```

### Optional: publish views

[](#optional-publish-views)

```
php artisan vendor:publish --tag=filament-email-logs-views
```

Registering the plugin
----------------------

[](#registering-the-plugin)

Register the plugin in your Filament panel provider:

```
use App\Models\User;
use Ejoi8\FilamentEmailLogs\FilamentEmailLogsPlugin;

->plugin(
    FilamentEmailLogsPlugin::make()
        ->authorizeUsing(fn (?User $user): bool => $user?->canManageSystem() ?? false)
)
```

This is a good fit when your application already has its own admin-access logic.

Configuration
-------------

[](#configuration)

The package config file is `config/filament-email-logs.php`.

```
