PHPackages                             tossboy/email - 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. tossboy/email

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

tossboy/email
=============

邮箱发送

1.1(7y ago)0942Apache-2.0PHPPHP &gt;=5.4.0

Since Jul 6Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ToSsBoYs/email)[ Packagist](https://packagist.org/packages/tossboy/email)[ RSS](/packages/tossboy-email/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

email
=====

[](#email)

> 基于phpmail的邮箱发送类

安装
--

[](#安装)

> composer require tossboy/email dev-master

使用方法
----

[](#使用方法)

```
use Email\Mail;
$email = new Mail($config=[
            'email' => $email,
            'password' => $password,
            'host' => '163',//163 qq ....
        ]);
$status = $email->sendMail('xun0726@qq.com','数据库备份提醒',date('Y-m-d H:i:s',time()).'备份成功');
var_dump($status);//成功返回true 失败返回错误信息
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

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

2

Last Release

2871d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3e9a53c3ed2a07b96b5efcc0df03e62a57f819eeb4eeeecb78c44127b9838b31?d=identicon)[ToSsBoY](/maintainers/ToSsBoY)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/tossboy-email/health.svg)

```
[![Health](https://phpackages.com/badges/tossboy-email/health.svg)](https://phpackages.com/packages/tossboy-email)
```

###  Alternatives

[ivantcholakov/codeigniter-phpmailer

A CodeIgniter 3 compatible email-library powered by PHPMailer.

25313.9k](/packages/ivantcholakov-codeigniter-phpmailer)[markguinn/silverstripe-email-helpers

Silverstripe extension containing SMTP mailer class and some other classes for HTML emails

3145.4k1](/packages/markguinn-silverstripe-email-helpers)[msp/smtp

SMTP with PHPMailer

2129.4k](/packages/msp-smtp)[nfephp-org/sped-mail

API para geração e envio dos emails relacionados com o SPED.

1123.7k](/packages/nfephp-org-sped-mail)

PHPackages © 2026

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