PHPackages                             gartmedia/php-email-library - 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. gartmedia/php-email-library

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

gartmedia/php-email-library
===========================

PHP email/form handling for GARTMedia

v1.1(2y ago)014PHPPHP &gt;=7.4

Since Jul 30Pushed 2y ago1 watchersCompare

[ Source](https://github.com/GART-Media/php-email-library)[ Packagist](https://packagist.org/packages/gartmedia/php-email-library)[ RSS](/packages/gartmedia-php-email-library/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

php-email-library
=================

[](#php-email-library)

Wrapper for PHPmailer for ease of use
-------------------------------------

[](#wrapper-for-phpmailer-for-ease-of-use)

### Usage

[](#usage)

```
use Email\Email;
use Email\EmailAddress as Address;

$data = [
    "from" => Address::newAddress($email, $name),
    "to" => [
        Address::newAddress("info@example.com", "Max Mustermann")
    ],
    // add custom fields to message body
    "body" => [
        "subject" => $subject,
        "customField" => $customField
    ],
    // attach files to mail
    "files" => [
      ["tmp_name" => "temp", "name" => "test.txt"],
      ["tmp_name" => "temp2", "name" => "test2.txt"]
    ]
];

$settings = [
    // enables recaptcha authentication
    "recaptcha" => [
        "secret" => "your recaptcha secret",
        "response" => $recaptchaResponse,
        "scoreThreshold" => 0.9 // recaptcha v3 score threshold (default = 0.5)
    ],
    "html" => true // enable html mail
];

$mail = new Email($data, $settings);

try {
    $mail->send();
} catch (Exception $e) {
    echo $e;
}
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Total

2

Last Release

745d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b6426755ea7db157f398708989dd10e825b83471a1ba2c945525962af9b91268?d=identicon)[zynth](/maintainers/zynth)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/gartmedia-php-email-library/health.svg)

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

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[getkirby/cms

The Kirby core

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

A CodeIgniter 3 compatible email-library powered by PHPMailer.

25214.3k](/packages/ivantcholakov-codeigniter-phpmailer)[chameleon-system/chameleon-base

The Chameleon System core.

1028.6k5](/packages/chameleon-system-chameleon-base)[sproutcms/cms

Enterprise content management and framework

242.5k4](/packages/sproutcms-cms)

PHPackages © 2026

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