PHPackages                             fusani/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. fusani/mailer

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

fusani/mailer
=============

This is a simple wrapper for PHP Mailer

0.1.0(4y ago)020PHPPHP &gt;=7.0

Since Mar 20Pushed 4y agoCompare

[ Source](https://github.com/lokisapocalypse/mailer)[ Packagist](https://packagist.org/packages/fusani/mailer)[ RSS](/packages/fusani-mailer/feed)WikiDiscussions master Synced 3d ago

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

Mailer
======

[](#mailer)

This is a simple wrapper for PHPMailer. It uses arrays to initialize PHPMailer and returns the PHPMailer object so that you can simply use PHPMailer to send emails. At present, on ly Gmail is supported but others will be added as I see a need for them.

Or other people fork and commit.

Gmail
-----

[](#gmail)

The below code will configure PHPMailer to send emails from a gmail account. Only username and password are required. You can pass in a from array if you are using a donotreply email address for example.

```
$config = [
    'username' => 'testuser',
    'password' => 'testpass',
    'from' => [
        'email' => 'from.email@gmail.com',
        'name' => 'David Tennant',
    ],
];

$mailer = MailFactory::buildGmailMailer($config);

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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

Total

2

Last Release

1694d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0698aa71349c5da4de5faa59dcc4a5b03b4ee7ebdb2195ffe34214da330d10b0?d=identicon)[lokisapocalypse](/maintainers/lokisapocalypse)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/fusani-mailer/health.svg)

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

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k13.0M215](/packages/simplesamlphp-simplesamlphp)[getkirby/cms

The Kirby core

1.5k584.8k447](/packages/getkirby-cms)[ivantcholakov/codeigniter-phpmailer

A CodeIgniter 3 compatible email-library powered by PHPMailer.

25214.2k](/packages/ivantcholakov-codeigniter-phpmailer)[vernes/yiimailer

Yii extension for sending emails with layouts using PHPMailer

81123.2k](/packages/vernes-yiimailer)

PHPackages © 2026

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