PHPackages                             pandawa/mailproxy-laravel - 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. pandawa/mailproxy-laravel

ActiveLibrary

pandawa/mailproxy-laravel
=========================

Laravel Mail driver for Mail Proxy - send emails through your self-hosted Mail Proxy

00PHP

Since Mar 20Pushed 1mo agoCompare

[ Source](https://github.com/pandawa/mailproxy-laravel)[ Packagist](https://packagist.org/packages/pandawa/mailproxy-laravel)[ RSS](/packages/pandawa-mailproxy-laravel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Mail Proxy - Laravel Mail Driver
================================

[](#mail-proxy---laravel-mail-driver)

Laravel Mail driver for sending emails through your self-hosted Mail Proxy.

Requirements
------------

[](#requirements)

- PHP 8.1+
- Laravel 10, 11, or 12

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

[](#installation)

```
composer require pandawa/mailproxy-laravel
```

The service provider is auto-discovered by Laravel.

Configuration
-------------

[](#configuration)

### 1. Add the mailer to `config/mail.php`

[](#1-add-the-mailer-to-configmailphp)

```
'mailers' => [
    // ...existing mailers...

    'mail-proxy' => [
        'transport' => 'mail-proxy',
        'endpoint' => env('MAIL_PROXY_ENDPOINT'),
        'api_key' => env('MAIL_PROXY_API_KEY'),
        'timeout' => env('MAIL_PROXY_TIMEOUT', 30),
        'from_address' => env('MAIL_FROM_ADDRESS'),
        'from_name' => env('MAIL_FROM_NAME'),
    ],
],
```

### 2. Set environment variables in `.env`

[](#2-set-environment-variables-in-env)

```
MAIL_MAILER=mail-proxy
MAIL_PROXY_ENDPOINT=http://localhost:9501
MAIL_PROXY_API_KEY=your-api-key-here
MAIL_FROM_ADDRESS=noreply@example.com
MAIL_FROM_NAME="App Name"
```

VariableDescriptionDefault`MAIL_PROXY_ENDPOINT`Base URL of the Mail Proxy API*(required)*`MAIL_PROXY_API_KEY`API key from the Mail Proxy dashboard*(required)*`MAIL_PROXY_TIMEOUT`HTTP timeout in seconds`30``MAIL_FROM_ADDRESS`Default from email address`null``MAIL_FROM_NAME`Default from name`null`Usage
-----

[](#usage)

Once configured, use Laravel's Mail facade as usual:

```
use Illuminate\Support\Facades\Mail;
use App\Mail\WelcomeEmail;

Mail::to('user@example.com')->send(new WelcomeEmail());
```

Attachments, CC, BCC, HTML and plain text bodies are all supported.

License
-------

[](#license)

MIT

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance59

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/c573df2af2e1cf9b81eda9b79fdfbed86db3631a2d121b7ad3c9a2994dc06ed7?d=identicon)[bl4ckbon3](/maintainers/bl4ckbon3)

---

Top Contributors

[![bl4ckbon3](https://avatars.githubusercontent.com/u/4352039?v=4)](https://github.com/bl4ckbon3 "bl4ckbon3 (1 commits)")

### Embed Badge

![Health badge](/badges/pandawa-mailproxy-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/pandawa-mailproxy-laravel/health.svg)](https://phpackages.com/packages/pandawa-mailproxy-laravel)
```

PHPackages © 2026

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