PHPackages                             jacobemerick/archangel - 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. jacobemerick/archangel

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

jacobemerick/archangel
======================

Another PHP mailing script, this time with method chaining

2.1.0(10y ago)1526MITPHPPHP &gt;=5.3.0

Since Jan 15Pushed 10y ago1 watchersCompare

[ Source](https://github.com/jacobemerick/archangel)[ Packagist](https://packagist.org/packages/jacobemerick/archangel)[ RSS](/packages/jacobemerick-archangel/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (4)Dependencies (8)Versions (5)Used By (0)

Archangel
=========

[](#archangel)

[![Build Status](https://camo.githubusercontent.com/0d33c56a0236ccfc211a29692b0e3f90f1ff18789cf8dd4b58b4f0e029cb4213/68747470733a2f2f7472617669732d63692e6f72672f6a61636f62656d657269636b2f61726368616e67656c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/jacobemerick/archangel)[![Code Climate](https://camo.githubusercontent.com/83d0e0d6f2742ecab18a45db934e5a7d08f69d9fd695b9f1fd75adf1060cd85f/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6a61636f62656d657269636b2f61726368616e67656c2f6261646765732f6770612e737667)](https://codeclimate.com/github/jacobemerick/archangel)[![Test Coverage](https://camo.githubusercontent.com/eb18c427b860ed2bb26a05578eb781025118ee98a563c46065215ccfd37f21cf/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6a61636f62656d657269636b2f61726368616e67656c2f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/jacobemerick/archangel/coverage)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f76d2b2beac13c226854e944c6a96e1ff7295544a50cae0e5ab70c97932118b1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a61636f62656d657269636b2f61726368616e67656c2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/jacobemerick/archangel/?branch=master)

Encapsulated utility for sending out emails with PHP. Will separate out plain-text, html, and attachments. Works across several tested email clients, including the picky Microsoft Outlook.

Why Archangel? Well, it's cool (like bow ties) and technically an 'archangel' is a 'messenger'.

Installation
------------

[](#installation)

It's recommended that you use [Composer](https://getcomposer.org/) to install Archangel.

```
$ composer require jacobemerick/archangel "^2.0"
```

This will install Archangel and it's dependencies. It requires PHP 5.3.0 or newer and sendmail functionality.

Usage
-----

[](#usage)

There are some minimum values to set before Archangel will attempt to send a mail. They are:

- to address
- subject
- some type of message (plain text, html, or attachment(s))

Archangel can work with or without method chaining. In the below examples everything is chained, but you don't have to structure your calling this way - it is totally up to you.

### Basic structure

[](#basic-structure)

Basic structure of a chained vs unchained request.

```
(new Jacobemerick\Archangel\Archangel())
  ->addTo('email@example.com')
  ->setSubject('Test Subject')
  ->setPlainMessage('This is a rather plain message.')
  ->send();

$archangel = new Jacobemerick\Archangel\Archangel();
$archangel->addTo('email@example.com');
$archangel->setSubject('Test Subject');
$archangel->setPlainMessage('This is a rather plain message.');
$archangel->send();
```

### Future Todos

[](#future-todos)

- add in more documentation

License
-------

[](#license)

Archangel is licensed under the MIT license. See [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Total

4

Last Release

3795d ago

Major Versions

0.1.1 → 2.0.02016-02-06

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a4eb553ed7677c6aa2c5adb9d20191557e64369c14a9d4b2371c924c4517dff?d=identicon)[jacobemerick](/maintainers/jacobemerick)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jacobemerick-archangel/health.svg)

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

###  Alternatives

[symfony/mailer

Helps sending emails

1.6k394.6M1.3k](/packages/symfony-mailer)[symfony/cache

Provides extended PSR-6, PSR-16 (and tags) implementations

4.2k365.0M3.1k](/packages/symfony-cache)[symfony/notifier

Sends notifications via one or more channels (email, SMS, ...)

80642.7M426](/packages/symfony-notifier)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

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

The Illuminate Mail package.

5910.4M475](/packages/illuminate-mail)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)

PHPackages © 2026

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