PHPackages                             cyber-duck/laravel-alternative-mailer - 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. cyber-duck/laravel-alternative-mailer

Abandoned → [cyber-duck/laravel-alternative-mailer](/?search=cyber-duck%2Flaravel-alternative-mailer)Library[Mail &amp; Notifications](/categories/mail)

cyber-duck/laravel-alternative-mailer
=====================================

Allow Laravel to send emails through two different mail configurations.

1.0.2(10y ago)32.3k1MITPHPPHP &gt;=5.5.9

Since Jun 9Pushed 4y ago4 watchersCompare

[ Source](https://github.com/Cyber-Duck/Laravel-Alternative-Mailer)[ Packagist](https://packagist.org/packages/cyber-duck/laravel-alternative-mailer)[ Docs](http://github.com/Cyber-Duck/Laravel-Alternative-Mailer)[ RSS](/packages/cyber-duck-laravel-alternative-mailer/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (6)Versions (4)Used By (0)

🚨 Discontinued 🚨
================

[](#-discontinued-)

This package is available in Laravel be default in later releases.

Laravel Alternative Mailer
==========================

[](#laravel-alternative-mailer)

[![Build Status](https://camo.githubusercontent.com/3bd33d445b3c73390fddefdbd811ae52e7817e5b67f93f77627cf850a8ad4e5e/68747470733a2f2f7472617669732d63692e6f72672f43796265722d4475636b2f4c61726176656c2d416c7465726e61746976652d4d61696c65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Cyber-Duck/Laravel-Alternative-Mailer)[![Latest Stable Version](https://camo.githubusercontent.com/e9ca5008884d80edf9fc8a5b900189b233753c18af11564fc9b2dde52ebcbe37/68747470733a2f2f706f7365722e707567782e6f72672f63796265722d6475636b2f6c61726176656c2d616c7465726e61746976652d6d61696c65722f762f737461626c65)](https://packagist.org/packages/cyber-duck/laravel-alternative-mailer)[![Total Downloads](https://camo.githubusercontent.com/7ad2c52348c536449f18119687334ee4ed3e6b9b6dfaf5b45c47f6540d89b572/68747470733a2f2f706f7365722e707567782e6f72672f63796265722d6475636b2f6c61726176656c2d616c7465726e61746976652d6d61696c65722f646f776e6c6f616473)](https://packagist.org/packages/cyber-duck/laravel-alternative-mailer)[![License](https://camo.githubusercontent.com/ccca156b19b59996fbac5ceee5953e6e29a5ea7ebe09ae8d28f8e43d815a1916/68747470733a2f2f706f7365722e707567782e6f72672f63796265722d6475636b2f6c61726176656c2d616c7465726e61746976652d6d61696c65722f6c6963656e7365)](https://packagist.org/packages/cyber-duck/laravel-alternative-mailer)

This package allows a Laravel 5 application to send emails through two different mail configurations. This package has been adapted from [illuminate/mail](https://github.com/illuminate/mail) by Taylor Otwell.

Author: [Simone Todaro](https://github.com/SimoTod)

Install
-------

[](#install)

Require this package with composer:

```
composer require cyber-duck/laravel-alternative-mailer:~1.0.2

```

After updating composer, add the ServiceProvider to the providers array in `config/app.php`

```
'providers' => array(
    ...
    'Cyberduck\Mail\MailServiceProvider'
)
```

And add an alias in `config/app.php`:

```
'aliases' => array(
    'Mail2' => 'Cyberduck\Mail\Facades\Mail',
)
```

Copy the package config to your local config with the publish command:

```
php artisan vendor:publish --provider="Cyberduck\Mail\MailServiceProvider"

```

Finally, set up your configuration in `config/mail2.php`

### Usage

[](#usage)

To send an email with the alternative configuration, use the Mail2 facade with the same syntax of the [Mail facade](https://laravel.com/docs/master/mail#sending-mail).

```
\Mail2::send('emails.reminder', ['user' => $user], function ($m) use ($user) {
    $m->from('hello@app.com', 'Your Application');
    $m->to($user->email, $user->name);
    $m->subject('Your Reminder!');
});
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 95.2% 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 ~3 days

Total

2

Last Release

3667d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/499c3ec1a8f4178f10844d45031b401be825313793d5e588636ac2d13481c1f8?d=identicon)[SimoTod](/maintainers/SimoTod)

![](https://www.gravatar.com/avatar/0c45a99726cc30692bc4821cfc198df1f5de85b1a15f9b66a0bf739acbac0309?d=identicon)[cyber-duck](/maintainers/cyber-duck)

---

Top Contributors

[![SimoTod](https://avatars.githubusercontent.com/u/8427737?v=4)](https://github.com/SimoTod "SimoTod (20 commits)")[![karlos545](https://avatars.githubusercontent.com/u/9590468?v=4)](https://github.com/karlos545 "karlos545 (1 commits)")

---

Tags

laravellaravel-5-packagelaravel-alternative-mailerlaravel-packagemailerlaravelmailmultiple mail configurations

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/cyber-duck-laravel-alternative-mailer/health.svg)

```
[![Health](https://phpackages.com/badges/cyber-duck-laravel-alternative-mailer/health.svg)](https://phpackages.com/packages/cyber-duck-laravel-alternative-mailer)
```

###  Alternatives

[capsulescodes/inertia-mailable

Seamlessly craft dynamic and reusable email templates using Inertia

289.5k](/packages/capsulescodes-inertia-mailable)[juanparati/brevosuite

Complete Brevo integration with Laravel

1013.2k](/packages/juanparati-brevosuite)

PHPackages © 2026

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