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

ActiveLibrary

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 2mo 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 22% 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

1646d 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.4k37.3k](/packages/matomo-matomo)[simplesamlphp/simplesamlphp

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

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)[getkirby/cms

The Kirby core

1.5k535.5k352](/packages/getkirby-cms)[saithink/saiadmin

webman plugin

2709.9k1](/packages/saithink-saiadmin)[jelix/jelix

Jelix PHP framework

83101.5k4](/packages/jelix-jelix)[doppar/framework

The Doppar Framework

366.7k8](/packages/doppar-framework)

PHPackages © 2026

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