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)0285MITPHPPHP &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 3d 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

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

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

2748d 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

[andreaselia/laravel-api-to-postman

Generate a Postman collection automatically from your Laravel API

1.0k586.2k3](/packages/andreaselia-laravel-api-to-postman)[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.1M28](/packages/mollie-laravel-mollie)[api-ecosystem-for-laravel/dingo-api

A RESTful API package for the Laravel and Lumen frameworks.

3121.5M10](/packages/api-ecosystem-for-laravel-dingo-api)[essa/api-tool-kit

set of tools to build an api with laravel

52680.5k](/packages/essa-api-tool-kit)[mll-lab/laravel-graphiql

Easily integrate GraphiQL into your Laravel project

683.2M9](/packages/mll-lab-laravel-graphiql)[kirschbaum-development/laravel-openapi-validator

Automatic OpenAPI validation for Laravel HTTP tests

581.1M5](/packages/kirschbaum-development-laravel-openapi-validator)

PHPackages © 2026

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