PHPackages                             govelid/multi-smtp-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. govelid/multi-smtp-mailer

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

govelid/multi-smtp-mailer
=========================

Multi SMTP Mailer - Use for set multiple smtp mailer dynamically for your laravel web

1.0.5(3y ago)027MITPHP

Since Apr 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/rakaarifbudiman/multi-smtp-mailer)[ Packagist](https://packagist.org/packages/govelid/multi-smtp-mailer)[ RSS](/packages/govelid-multi-smtp-mailer/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (6)DependenciesVersions (7)Used By (0)

multi-smtp-mailer
=================

[](#multi-smtp-mailer)

 composer require govelid/multi-smtp-mailer

This package allow you set multiple smtp mailer dynamically from database, it is more secure than you have to set your credentials mail at your config or .env file

Installation
============

[](#installation)

- 1. You need setup your database
- 2. Run `composer require govelid/multi-smtp-mailer`
- 3. Modify the composer.json file in your Laravel app by adding the following lines to the autoload section: `"psr-4": {    "App\\": "app/",    "Govelid\\MultiSmtpMailer\\": "vendor/govelid/multi-smtp-mailer/src/"}`
- 4. Run `composer dump-autoload`
- 5. Publish the migration file :
     `php artisan vendor:publish --provider="Govelid\MultiSmtpMailer\MailConfigServiceProvider"`
- 6. Run `php artisan migrate`
- 7. Create new data mailer at mail\_settings table , for first mail default mailer is 'smtp' , the next mailer you can give custom name
- 8. Tes your mail

How to use mail
===============

[](#how-to-use-mail)

- Default mailer : Mail::to($recipient)-&gt;send(new Mail)
- Custom mailer : Mail::mailer('custommailer)-&gt;to($recipient)-&gt;send(new Mail)

How to use MailSetting Model
============================

[](#how-to-use-mailsetting-model)

- Use as is Laravel Eloquent Model , example display all data form table mail\_settings: `MailSetting::all();`
- Dont forget to add `use Govelid\MultiSmtpMailer\MailSetting;`

###  Health Score

23

—

LowBetter than 25% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~0 days

Total

6

Last Release

1216d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/102937823?v=4)[Raka Arif Budiman](/maintainers/rakaarifbudiman)[@rakaarifbudiman](https://github.com/rakaarifbudiman)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/govelid-multi-smtp-mailer/health.svg)

```
[![Health](https://phpackages.com/badges/govelid-multi-smtp-mailer/health.svg)](https://phpackages.com/packages/govelid-multi-smtp-mailer)
```

###  Alternatives

[bigbharatjain/laravel-clickatell

This package makes it easy to send sms using clickatell.com with Laravel 5.

1435.2k](/packages/bigbharatjain-laravel-clickatell)[motomedialab/smtp2go

Send emails via API using the first-class email courier SMTP2Go

1323.6k](/packages/motomedialab-smtp2go)

PHPackages © 2026

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