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

ActiveLibrary

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

PHP email/form handling for GARTMedia

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

Since Jul 30Pushed 1y 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 1w 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

26

—

LowBetter than 43% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

699d 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.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)
