PHPackages                             bulldog/mailgun - 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. bulldog/mailgun

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

bulldog/mailgun
===============

Simple PHP Client for Mailgun

v1.1.1(6y ago)136MITPHPPHP &gt;=5.5.38

Since Dec 13Pushed 6y ago2 watchersCompare

[ Source](https://github.com/bulldogcreative/mailgun)[ Packagist](https://packagist.org/packages/bulldog/mailgun)[ RSS](/packages/bulldog-mailgun/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)Dependencies (1)Versions (7)Used By (0)

Simple PHP Mailgun Client
=========================

[](#simple-php-mailgun-client)

[![Build Status](https://camo.githubusercontent.com/40551bc29e1fb74afa2ed010a33ffa9e6ad1524db8e30662303ebdd6285f339f/68747470733a2f2f7472617669732d63692e6f72672f62756c6c646f6763726561746976652f6d61696c67756e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/bulldogcreative/mailgun)[![](https://camo.githubusercontent.com/562bf20d9f1187231f57e3ceac0ed240df6c10155d4ef4d388de80e9fb1c087d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62756c6c646f672f6d61696c67756e2e737667)](https://camo.githubusercontent.com/562bf20d9f1187231f57e3ceac0ed240df6c10155d4ef4d388de80e9fb1c087d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62756c6c646f672f6d61696c67756e2e737667)[![](https://camo.githubusercontent.com/330307eeb30da3b7dc26d55f94aab33de7637124d9406537e5ee9cb5527126db/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f62756c6c646f6763726561746976652f6d61696c67756e2e737667)](https://camo.githubusercontent.com/330307eeb30da3b7dc26d55f94aab33de7637124d9406537e5ee9cb5527126db/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f62756c6c646f6763726561746976652f6d61696c67756e2e737667)[![](https://camo.githubusercontent.com/9f361981632ece41307a3d064605636fb3bf97cd9b8a634a6cfe3b5acab3607b/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f75726c2f68747470732f6769746875622e636f6d2f62756c6c646f6763726561746976652f6d61696c67756e2e7376673f7374796c653d736f6369616c)](https://camo.githubusercontent.com/9f361981632ece41307a3d064605636fb3bf97cd9b8a634a6cfe3b5acab3607b/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f75726c2f68747470732f6769746875622e636f6d2f62756c6c646f6763726561746976652f6d61696c67756e2e7376673f7374796c653d736f6369616c)

While Mailgun does an excellent job at implementing the adapter pattern, coding to an interface, using PSR, and other things, this package does not. The curl extension is the only requirement for this package.

I often found myself needing a quick, simple solution for sending email when using PHP. I love Mailgun, but always felt like their PHP client included too many features for what I needed to do. So I wrote a very limited API client that only does one thing, and it does it well.

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

[](#installation)

```
composer require bulldog/mailgun
```

Usage
-----

[](#usage)

### Basic Usage

[](#basic-usage)

```
