PHPackages                             floriangaerber/magnesium - 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. floriangaerber/magnesium

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

floriangaerber/magnesium
========================

A wrapper for the Mailgun API-client

v0.3.1(9y ago)11792[6 issues](https://github.com/floriangaerber/Magnesium-PHP/issues)MITPHPPHP ^7.0

Since May 20Pushed 8y ago1 watchersCompare

[ Source](https://github.com/floriangaerber/Magnesium-PHP)[ Packagist](https://packagist.org/packages/floriangaerber/magnesium)[ Docs](https://github.com/floriangaerber/Magnesium-PHP)[ RSS](/packages/floriangaerber-magnesium/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (7)Dependencies (5)Versions (10)Used By (0)Security (1)

Magnesium-PHP
=============

[](#magnesium-php)

[![License](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Packagist](https://camo.githubusercontent.com/940ba81e58fde782500fa0c255e9076e23d2ab645980f75c43bd617d3841c394/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666c6f7269616e676165726265722f6d61676e657369756d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/floriangaerber/magnesium)[![Dependency Status](https://camo.githubusercontent.com/89908bcab2f1c3c3ee3954d7531860d05984633327f23b92120c76d7ffd77c56/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3539323138666466386463633431303033616632316564642f62616467652e7376673f7374796c653d666c61742d737175617265)](https://www.versioneye.com/user/projects/59218fdf8dcc41003af21edd)[![CircleCI](https://camo.githubusercontent.com/6c7abbaced95be3fae4f258c9130ae4893bd756b475bb192ce2efcb7dfc75158/68747470733a2f2f696d672e736869656c64732e696f2f636972636c6563692f70726f6a6563742f6769746875622f666c6f7269616e676165726265722f4d61676e657369756d2d5048502e7376673f7374796c653d666c61742d737175617265)](https://circleci.com/gh/floriangaerber/Magnesium-PHP)

Wrapper for the [Mailgun](https://mailgun.com) API-client.

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

[](#installation)

Install the latest version

```
$ composer require floriangaerber/magnesium
```

Usage
-----

[](#usage)

```
$batchMessage = new Magnesium\Message\BatchMessage($mailgunKey, $mailgunDomain);
```

Documentation
-------------

[](#documentation)

**You can find the documentation and usage examples [here](docs).**

You can also generate [PHPDocs](https://www.phpdoc.org), if needed.

About
-----

[](#about)

### Contributing

[](#contributing)

View [CONTRIBUTING.md](CONTRIBUTING.md) for information on creating issues, reporting bugs and requesting features.

### License

[](#license)

Magnesium is released under the MIT License, view the [LICENSE](LICENSE) file for details.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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

Recently: every ~80 days

Total

8

Last Release

3002d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6360b49e9b762364099cb4860b96b5b2bd098cb86c0b503c436f3df6dbebce78?d=identicon)[floriangaerber](/maintainers/floriangaerber)

---

Tags

emailmailermailgunphpphp-libraryphp-mailapiemailmailgun

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/floriangaerber-magnesium/health.svg)

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

###  Alternatives

[yarcode/yii2-mailgun-mailer

Mailgun mailer implementation for Yii2

1576.5k](/packages/yarcode-yii2-mailgun-mailer)[boundstate/yii2-mailgun

Mailgun integration for the Yii framework

28165.8k](/packages/boundstate-yii2-mailgun)

PHPackages © 2026

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