PHPackages                             xiaohuilam/laravel-submail - 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. [API Development](/categories/api)
4. /
5. xiaohuilam/laravel-submail

ActiveLibrary[API Development](/categories/api)

xiaohuilam/laravel-submail
==========================

v0.3(7y ago)0286MITPHPPHP &gt;=5.5.0

Since Nov 5Pushed 7y ago1 watchersCompare

[ Source](https://github.com/xiaohuilam/laravel-submail)[ Packagist](https://packagist.org/packages/xiaohuilam/laravel-submail)[ RSS](/packages/xiaohuilam-laravel-submail/feed)WikiDiscussions master Synced 2w ago

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

Laravel-SubMail
===============

[](#laravel-submail)

```
composer require bingooo/laravel-submail

```

config/app.php

```
'providers' => [
    Bingooo\Mail\SubMailServiceProvider::class,
];
```

.env

```
MAIL_DRIVER=submail

SUBMAIL_APPID=
SUBMAIL_APPKEY=
```

### Normal

[](#normal)

```
Mail::send('emails.welcome', $data, function ($message) {
    $message->from('foo@example.com', 'XXXXX');
    $message->to('foo@example.com')->cc('bar@example.com');
});
```

### Use template:

[](#use-template)

```
$vars = ['name' => 'hi','link_text' => 'http://example.com'];
$links = ['link' => 'http://example.com'];
$template = new Bingooo\Mail\SubMailTemplate('XXXXX', $vars, $links);
\Mail::raw($template,function($message){
  $message->from('foo@example.com', 'XXXXX');
  $message->to('foo@example.com');
});
```

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

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

3

Last Release

2794d ago

### Community

Maintainers

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

---

Top Contributors

[![bingooo](https://avatars.githubusercontent.com/u/1782621?v=4)](https://github.com/bingooo "bingooo (9 commits)")[![xiaohuilam](https://avatars.githubusercontent.com/u/6964962?v=4)](https://github.com/xiaohuilam "xiaohuilam (3 commits)")

---

Tags

laravelsubmail

### Embed Badge

![Health badge](/badges/xiaohuilam-laravel-submail/health.svg)

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

###  Alternatives

[defstudio/telegraph

A laravel facade to interact with Telegram Bots

815320.5k3](/packages/defstudio-telegraph)[riclep/laravel-storyblok

A Laravel wrapper around the Storyblok API to provide a familiar experience for Laravel devs

6277.0k5](/packages/riclep-laravel-storyblok)[simplestats-io/laravel-client

Analytics for Laravel. Track visitors, registrations, and payments. Discover which channels actually drive revenue, not just traffic. Server-side, GDPR compliant, ad-blocker proof.

5019.3k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

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