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 2w 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

Maturity47

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

1739d 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.7k39.6k](/packages/matomo-matomo)[getkirby/cms

The Kirby core

1.5k606.6k540](/packages/getkirby-cms)[chameleon-system/chameleon-base

The Chameleon System core.

1029.4k6](/packages/chameleon-system-chameleon-base)[sproutcms/cms

Enterprise content management and framework

243.0k4](/packages/sproutcms-cms)

PHPackages © 2026

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