PHPackages                             apex/mercury - 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. apex/mercury

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

apex/mercury
============

Lightweight messenger for sending e-mail, SMS, Firebase and Web Socket messages

2.0.5(12mo ago)09462MITPHPPHP &gt;=8.0

Since May 4Pushed 12mo ago1 watchersCompare

[ Source](https://github.com/apexpl/mercury)[ Packagist](https://packagist.org/packages/apex/mercury)[ Docs](https://apexpl.io)[ RSS](/packages/apex-mercury/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (18)Used By (2)

Mercury
=======

[](#mercury)

A lightweight messenger to easily send e-mail, SMS and Firebase messages, plus includes a Web Socket server and client.

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

[](#installation)

Install via Composer with:

> `composer require apex/mercury`

Table of Contents
-----------------

[](#table-of-contents)

1. [E-Mail Messages](https://github.com/apexpl/mercury/blob/master/docs/email.md)
    1. [EmailMessage Class](https://github.com/apexpl/mercury/blob/master/docs/email_message.md)
    2. [RedisManager for SMTP Servers](https://github.com/apexpl/mercury/blob/master/docs/email_redis.md)
2. [SMS Messages](https://github.com/apexpl/mercury/blob/master/docs/sms.md)
3. [Firebase Messages](https://github.com/apexpl/mercury/blob/master/docs/firebase.md)
4. [Web Socket Server](https://github.com/apexpl/mercury/blob/master/docs/websocket.md)

Support
-------

[](#support)

If you have any questions, issues or feedback, please feel free to drop a note on the [ApexPl Reddit sub](https://reddit.com/r/apexpl/) for a prompt and helpful response.

Follow Apex
-----------

[](#follow-apex)

Loads of good things coming in the near future including new quality open source packages, more advanced articles / tutorials that go over down to earth useful topics, et al. Stay informed by joining the [mailing list](https://apexpl.io/) on our web site, or follow along on Twitter at [@mdizak1](https://twitter.com/mdizak1).

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance50

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 82.4% 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 ~91 days

Recently: every ~232 days

Total

17

Last Release

364d ago

Major Versions

0.1.11 → 2.02022-01-30

PHP version history (2 changes)0.1PHP &gt;=8.0.0

2.0PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/4fe486d2ed7db571c0519bb0d52b08b5e953a911936e87331e736a381ef96f29?d=identicon)[apex](/maintainers/apex)

---

Top Contributors

[![mdizak](https://avatars.githubusercontent.com/u/59886259?v=4)](https://github.com/mdizak "mdizak (14 commits)")[![apexpl](https://avatars.githubusercontent.com/u/56146521?v=4)](https://github.com/apexpl "apexpl (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/apex-mercury/health.svg)

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

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M228](/packages/tijsverkoyen-css-to-inline-styles)[phan/phan

A static analyzer for PHP

5.6k11.2M1.1k](/packages/phan-phan)[minishlink/web-push

Web Push library for PHP

1.9k12.0M52](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)

PHPackages © 2026

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