PHPackages                             kaadon/phpmailer - 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. kaadon/phpmailer

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

kaadon/phpmailer
================

Kaadon phpmailer for PHP

v0.0.4(3y ago)082MITHTMLPHP &gt;=7.2

Since Dec 21Pushed 3y ago1 watchersCompare

[ Source](https://github.com/kaadon/phpmailer)[ Packagist](https://packagist.org/packages/kaadon/phpmailer)[ Docs](http://developer.kaadon.com/)[ RSS](/packages/kaadon-phpmailer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

phpmailer 1. > 配置
    >
    > ---
    >
    >
    > 1. > thinkphp配置
    >     >
    >     > ---
    >     >
    >     > ```
    >     > //在config/kaadon中添加如下配置
    >     >     "phpmailer" => [
    >     >         "gmail" => [
    >     >             "username" => "",
    >     >             "password" => ""
    >     >         ]
    >     >     ]
    >     > // thinkphp中使用 Kaadon\PhpMailer\think\ThinkGmail 类
    >     > // 增加了 sendTemplateVerificationCode 发送方法,使用数据见 example
    >     > ```
2. > 文字用法
    >
    > ---
    >
    > ```
    > $GM = (new \Kaadon\PhpMailer\GmailSender([
    >     "username" => "usdtcloud@gmail.com",
    >     "password" => ""
    > ]));
    > $GM->setTo("kaadon.com@gmail.com")->setText("123456")->Send();
    > ```
3. > 模板用法
    >
    > ---
    >
    > ```
    > $context = [
    >     "server" => [
    >         "member"         => "ipioonet@gmail.com",
    >         "time"         => date("Y-m-d H:i:s"),
    >         "node"           => "韩国",
    >         "ip"             => "103.86.47.17",
    >         "payment_method" => "按月支付",
    >         "payment_price"  => "US$29",
    >     ]
    > ];
    > $GM = (new \Kaadon\PhpMailer\GmailSender([
    >     "username" => "aaaa@gmail.com",
    >     "password" => ""//密码
    > ]));
    > $GM->setTo("aaa@gmail.com")
    >     ->setSubject("服务续费通知")
    >     ->setTwigTemplates("/Volumes/SourceData/composer/phpmailer/twig_templates","product.html",$context)
    >     ->Send()
    > ```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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 ~5 days

Total

4

Last Release

1226d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/58987658?v=4)[Kaadon](/maintainers/kaadon)[@kaadon](https://github.com/kaadon)

---

Top Contributors

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

---

Tags

phpmailer

### Embed Badge

![Health badge](/badges/kaadon-phpmailer/health.svg)

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

###  Alternatives

[ivantcholakov/codeigniter-phpmailer

A CodeIgniter 3 compatible email-library powered by PHPMailer.

25313.9k](/packages/ivantcholakov-codeigniter-phpmailer)[itinerisltd/wp-phpmailer

WP PHPMailer provides a clean and simple way to configure WordPress-bundled PHPMailer library, allowing you to quickly get started sending mail through a local or cloud based service of your choice.

6231.6k](/packages/itinerisltd-wp-phpmailer)[yuan1994/tp-mailer

A powerful and beautiful php mailer for All of ThinkPHP and Other PHP Frameworks based SwiftMailer

812.0k1](/packages/yuan1994-tp-mailer)[cattong/think-mailer

A powerful and beautiful php mailer for All of ThinkPHP and Other PHP Frameworks based SwiftMailer

361.9k1](/packages/cattong-think-mailer)[adrianorsouza/codeigniter-phpmailer

CodeIgniter Mail Plugin Powered by PHPMailer Library

142.3k](/packages/adrianorsouza-codeigniter-phpmailer)

PHPackages © 2026

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