PHPackages                             bauerdot/filament-mailbox - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. bauerdot/filament-mailbox

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

bauerdot/filament-mailbox
=========================

Filament plugin to add sandbox banner to all laravel emails

v0.0.8(8mo ago)17[4 PRs](https://github.com/bauerDOTuzh/filament-mailbox/pulls)MITPHPPHP ^8.2CI passing

Since Sep 24Pushed 2mo agoCompare

[ Source](https://github.com/bauerDOTuzh/filament-mailbox)[ Packagist](https://packagist.org/packages/bauerdot/filament-mailbox)[ Docs](https://github.com/bauerdot/filament-mailbox)[ GitHub Sponsors](https://github.com/BauerdotUZH)[ RSS](/packages/bauerdot-filament-mailbox/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (15)Versions (15)Used By (0)

Under Active development - use on your own risk
===============================================

[](#under-active-development---use-on-your-own-risk)

Filament plugin to add sandbox banner to all laravel emails
===========================================================

[](#filament-plugin-to-add-sandbox-banner-to-all-laravel-emails)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5b66a8953aef28f3ca026da83b388360352cb9cb7f054f19f80968138d76c23e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6261756572646f742f66696c616d656e742d6d61696c626f782e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bauerdot/filament-mailbox)[![GitHub Tests Action Status](https://github.com/BauerdotUZH/filament-mailbox/actions/workflows/run-tests.yml/badge.svg)](https://github.com/BauerdotUZH/filament-mailbox/actions/workflows/run-tests.yml/badge.svg)[![GitHub Code Style Action Status](https://github.com/BauerdotUZH/filament-mailbox/actions/workflows/fix-php-code-style-issues.yml/badge.svg)](https://github.com/BauerdotUZH/filament-mailbox/actions/workflows/fix-php-code-style-issues.yml/badge.svg)[![Total Downloads](https://camo.githubusercontent.com/8f475c6b6674e475f0b8da8692796b79adb238e414a267b8b87ce2dae57f2e53/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6261756572646f742f66696c616d656e742d6d61696c626f782e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bauerdot/filament-mailbox)

This plugin adds, based on managable config in Filament admin panel, a banner to all outgoing emails. Additionally, this package includes small preview of all outgoing emails in Filament admin panel, this past is inspured by TappNetwork package.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require bauerdot/filament-mailbox
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="filament-mailbox-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="filament-mailbox-config"
```

Optionally, you can publish the translations files with:

```
php artisan vendor:publish --tag="filament-mailbox-translations"
```

Using the Resource
------------------

[](#using-the-resource)

Add this plugin to a panel on `plugins()` method. E.g. in `app/Providers/Filament/AdminPanelProvider.php`:

```
use Bauerdot\FilamentMailBox\FilamentMailBoxPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        // ...
        ->plugins([
            FilamentMailBoxPlugin::make(),
            //...
        ]);
}
```

Using env variables (fastest start/deterministic for envs)
----------------------------------------------------------

[](#using-env-variables-fastest-startdeterministic-for-envs)

all emails can be types in , ...

MAILBOX\_SHOW\_ENV\_BANNER=true //show banner on all emails MAILBOX\_SANDBOX\_MODE=true //if sandbox mode all emails are redirected to sandbox address MAILBOX\_ALLOWED\_EMAILS= //which emails are allowed to be send out in sandbox mode MAILBOX\_SANDBOX\_ADDRESS= //all emails are redirected to this address in sandbox mode MAILBOX\_BCC\_ADDRESS= //bcc all outgoing emails

And much more however it is encouraged to use them via config in admin panel.

When you dont lock values in config and try to define it is encourages to run to clear temporary cahce `php artisan filament-mailbox:clear-mail-settings-cache`

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Next steps

1. Add database periodic cleanups (of bodies etc.)
2. add proper testing for bcc

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance74

Regular maintenance activity

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~5 days

Total

7

Last Release

254d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25525463?v=4)[bauerdot](/maintainers/bauerdot)[@bauerDOT](https://github.com/bauerDOT)

---

Top Contributors

[![bauerDOTuzh](https://avatars.githubusercontent.com/u/91192620?v=4)](https://github.com/bauerDOTuzh "bauerDOTuzh (20 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

laravelmaillogfilament-mailbox

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/bauerdot-filament-mailbox/health.svg)

```
[![Health](https://phpackages.com/badges/bauerdot-filament-mailbox/health.svg)](https://phpackages.com/packages/bauerdot-filament-mailbox)
```

###  Alternatives

[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[tapp/filament-maillog

Filament plugin to view outgoing mail

3070.3k1](/packages/tapp-filament-maillog)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[stephenjude/filament-jetstream

A Laravel starter kit built with Filament inspired by Jetstream.

17760.2k3](/packages/stephenjude-filament-jetstream)[stephenjude/filament-debugger

About

104162.2k2](/packages/stephenjude-filament-debugger)[finity-labs/fin-mail

A powerful email template manager and composer for Filament with dynamic token replacement, template versioning, and inline email sending.

284.5k1](/packages/finity-labs-fin-mail)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
