This package provides a Filament resource to view all Laravel outgoing emails. It also provides a Model for the database stored emails.
You can install the package via composer:
composer require ramnzys/filament-email-log
You can publish and run the migrations with:
php artisan vendor:publish --tag="filament-email-log-migrations" php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="filament-email-log-config"
This is the contents of the published config file:
return [ 'resource' => [ 'group' => null, 'sort' => null, ], 'keep_email_for_days' => 90, ];
This package will automatically register the
EmailResource. You will be able to see it when you visit your Filament admin panel.
Group and sort order. You can customize the navigation group for the
EmailResource by publishing the configuration file and updating the
Prunable model. You can customize how many days to keep the email in the database by updating the
keep_email_for_days value. Then you can use or schedule the command
artisan model:prune --model="Ramnzys\FilamentEmailLog\Models\Email". This will delete emails older than
keep_email_for_days days old.
Please see CHANGELOG for more information on what has changed recently.
Contributions are welcome. Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.