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(6mo ago)17[4 PRs](https://github.com/bauerDOTuzh/filament-mailbox/pulls)MITPHPPHP ^8.2CI passing

Since Sep 24Pushed 1mo 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 1mo ago

READMEChangelogDependencies (15)Versions (14)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

36

—

LowBetter than 82% of packages

Maintenance79

Regular maintenance activity

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

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

208d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ed5cf078b75e518346f8c1ef66e707252e17a5495c9678c29d800e2216f53cc?d=identicon)[bauerdot](/maintainers/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

[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[xammie/mailbook

Laravel Mail Explorer

482458.3k1](/packages/xammie-mailbook)[spatie/laravel-notification-log

Log notifications sent by your Laravel app

207902.8k](/packages/spatie-laravel-notification-log)[tapp/filament-maillog

Filament plugin to view outgoing mail

2952.6k1](/packages/tapp-filament-maillog)[wnx/laravel-sends

Keep track of outgoing emails in your Laravel application.

200427.3k](/packages/wnx-laravel-sends)[spatie/laravel-discord-alerts

Send a message to Discord

151408.0k](/packages/spatie-laravel-discord-alerts)

PHPackages © 2026

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