{"repo":"TappNetwork/filament-maillog","free":true,"listed":false,"github":"https://github.com/TappNetwork/filament-maillog","clone":"git clone https://github.com/TappNetwork/filament-maillog.git","description":"Log outgoing emails and view them in Filament admin panel","language":"PHP","stars":30,"topics":["filament","filament-plugin","filamentphp","laravel","logging","mail","maillog"],"license":"MIT","category":"databases-storage","readme_excerpt":"Filament plugin to view outgoing mail This plugin adds an event listener to log emails sent on mail logs database table. It also adds a Filament resource to view the mail logs. Version Compatibility Filament Filament MailLog Documentation :--------- :----------------- :-------------- 4.x/5.x 2.x Current 3.x 1.x Check the docs Installation You can install the package via Composer: You can publish the config file with: This is the contents of the published config file: You can publish and run the migrations with: Warning: If you use multi-tenancy, configure tenancy before publishing and running migrations. See \"Multi-Tenancy Support\" below. Optionally, you can publish the translations files with: Using the Resource Add this plugin to a panel on plugins() method. E.g. in app/Providers/Filament/AdminPanelProvider.php : Multi-Tenancy Support Mail log entries can be scoped to a tenant (e.g. team or organization) when your Filament panel uses tenancy. Setup 1. Configure tenancy before migrations Publish the config and set in config/filament-maillog.php : Or use env vars: FILAMENT MAILLOG TENANCY ENABLED=true , FILAMENT MAILLOG TENANCY COLUMN=team id , etc. 2. Publish and run migrations The mail logs table will get the tenant foreign key when tenancy is enabled: 3. Panel Ensure your panel uses the same tenant model, e.g. - tenant(\\App\\Models\\Team::class) . When tenancy is enabled, the resource is scoped to the current tenant and new mail logs are associated with the current tenant. T","default_branch":null,"files":null,"tree":[],"storefront":"/r/TappNetwork","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/TappNetwork/filament-maillog/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}