Download the PHP package ejoi8/filament-email-logs without Composer

On this page you can find all versions of the php package ejoi8/filament-email-logs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package 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.

Features

Requirements

Installation

Composer

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

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

Migrations

Run the package migrations:

Optional: publish config

Optional: publish views

Registering the plugin

Register the plugin in your Filament panel provider:

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

Configuration

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

logging.enabled

Controls whether the package registers the MessageSent listener and records sent mail.

authorization.ability

Optional fallback authorization when you do not want to use ->authorizeUsing(...).

Example:

If ->authorizeUsing(...) is defined on the plugin, that callback takes priority.

navigation.group

Controls the Filament navigation group label.

navigation.sort

Controls the navigation order.

navigation.icon

Controls the resource navigation icon.

You can also override navigation directly in the plugin registration:

Plugin method overrides take priority over the config file.

How it works

The package listens for Laravel's Illuminate\Mail\Events\MessageSent event and stores the rendered email data in the email_logs table.

Each log stores:

When a resend happens, the package sends the stored message body again and the new outgoing message is logged as a new email log row. The original row is also updated with resend counters.

Resending behavior

The resend action supports two common cases:

Resend to original recipients

Use the default modal values and resend the email exactly as logged.

Resend to corrected recipients

Disable Send to original recipients, then enter one or more corrected addresses in Additional or corrected recipients.

This is useful when:

The resent copy stores audit metadata so administrators can understand:

Authorization patterns

This package is intentionally flexible because each project handles admin access differently.

Option 1: custom callback

Best when your app already has its own user methods or role logic.

Option 2: ability-based fallback

Best when your app uses Laravel policies, gates, or a permission package.

Then register the plugin without a callback:

Relationship to .env mail settings

This package does not manage your mail transport settings.

It uses whatever Laravel mail configuration is already active in your application, which usually comes from:

That means:

Future admin-managed email settings

If you later build a dedicated admin page for SMTP or mailer settings, the recommended approach is:

  1. Keep .env as the server-level fallback
  2. Store admin-editable mail settings in the database
  3. Build the active Laravel mail configuration at runtime from database settings
  4. Let this package continue logging and resending through that active configuration

In that setup, this package does not need special changes to benefit from the admin-managed mail settings. It will automatically use the currently configured mailer at send time.

Package structure

Development notes

This repository currently consumes the package through a local Composer path repository. That makes it easy to continue development here and later move the package into its own repository without changing the package namespace or structure.

Testing

Focused verification in this host app:


All versions of filament-email-logs with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
filament/filament Version ^5.4
illuminate/auth Version ^13.0
illuminate/database Version ^13.0
illuminate/mail Version ^13.0
illuminate/support Version ^13.0
illuminate/view Version ^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ejoi8/filament-email-logs contains the following files

Loading the files please wait ...