filagora / filagora-logs
Email logs for Filagora.
v0.2.0
2026-10-13 18:08 UTC
Requires
- php: ^8.4
- filagora/filagora-core: ^0.2
- filagora/filagora-entitlements: ^0.2
- filament/filament: ^5.0
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.0
- orchestra/testbench: ^11.0
- pestphp/pest: ^4.0
- pestphp/pest-plugin-laravel: ^4.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-10-13 21:35:32 UTC
README
An email log for Filagora, as a Laravel 13 / Filament 5 plugin. Requires
filagora/filagora-core and
filagora/filagora-entitlements.
The package is at
0.1: the API may change between0.xminor versions.
What it does
- Email log. A read-only Filament screen over every outgoing message. When the
mail_log_sendingsetting is on (it is off by default), every outgoing message is recorded: recipients (to, cc, bcc), subject, mailer, the notification class that sent it, and its status (sending, thensentwith the message id). Logging never blocks the mail: a failure to log is reported to the application log and the message goes out. TheEmailLog::forRecipient($address)scope finds a person's rows (given spelling and lowercase; a blank address matches nothing), for privacy export and erasure. - Access. The screen is read-only and needs the
filagora.logs.viewability, mapped inconfig/filagora-logs.phpto the entitlement of the same name. Point it at your own key there. - Table (
email_logs, prefixedfilagora_by default) matches an existing site's index for index, sophp artisan filagora:adoptaccepts it.
An audit log viewer is planned but not part of this release.
Install
composer require filagora/filagora-logs php artisan migrate php artisan filagora:entitlements:sync
->plugin(\Filagora\Logs\FilagoraLogsPlugin::make())
Then turn on the "Log Email Sending Activity" setting if you want the email log.
Testing
composer test
Tests run against a real MariaDB database named testing.
Licence
MIT. See LICENSE.