rickdbcn / filament-email
Log all outbound emails you send through your Filament application
Installs: 24 000
Dependents: 2
Suggesters: 0
Security: 0
Stars: 52
Watchers: 2
Forks: 14
Open Issues: 1
Requires
- php: ^8.1
- filament/filament: ^3.0
- illuminate/contracts: ^10.0|^11.0
- laravel/framework: ^10.0|^11.0
- spatie/laravel-package-tools: ^1.14.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.9|^8.0
- orchestra/testbench: ^8.0|^9.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- pestphp/pest-plugin-livewire: ^2.1
This package is auto-updated.
Last update: 2024-05-16 17:25:07 UTC
README
Log all outgoing emails in your Laravel project within your Filament panel. You can also resend emails with 1-click in case your recipient hasn't received your email.
Version Compatibility
Plugin | Filament | Laravel | PHP |
---|---|---|---|
1.x | 3.x | 10.x | 8.x |
1.x | 3.x | 11.x | 8.2 | 8.3 |
Caution
After update to v1.3.1 or 1.4.0 you need to re-publish and run migrations
php artisan vendor:publish --tag="filament-email-migrations"
php artisan migrate
Installation
You can install the package via composer:
composer require rickdbcn/filament-email
Publish and run the migrations with
php artisan vendor:publish --tag="filament-email-migrations"
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="filament-email-config"
Register the plugin through your panel service provider:
->plugin(\RickDBCN\FilamentEmail\FilamentEmail::make())
Configuration
use RickDBCN\FilamentEmail\Filament\Resources\EmailResource; use RickDBCN\FilamentEmail\Models\Email; return [ 'resource' => [ 'class' => EmailResource::class, 'model' => Email::class, 'group' => null, 'sort' => null, 'icon' => null, 'default_sort_column' => 'created_at', 'default_sort_direction' => 'desc', 'datetime_format' => 'Y-m-d H:i:s', 'filter_date_format' => 'Y-m-d', 'table_search_fields' => [ 'subject', 'from', 'to', 'cc', 'bcc', ], ], 'keep_email_for_days' => 60, 'label' => null, 'prune_crontab' => '0 0 * * *', 'can_access' => [ 'role' => [], ], 'pagination_page_options' => [ 10, 25, 50, 'all', ], //Use this option for customize tenant model class //'tenant_model' => \App\Models\Team::class, ];
Testing
composer test
Screenshots
E-mail list
Advanced filters
Resend e-mail
Update addresses and resend e-mail
E-mail view with attachments
Credits
License
The MIT License (MIT). Please see License File for more information.