PHPackages                             aztech/coyote - 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. aztech/coyote

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

aztech/coyote
=============

Email and SMS abstraction layer

0.1.1(11y ago)1105[3 issues](https://github.com/aztech-digital/coyote/issues)MITPHPPHP &gt;=5.4

Since Jan 23Pushed 11y ago1 watchersCompare

[ Source](https://github.com/aztech-digital/coyote)[ Packagist](https://packagist.org/packages/aztech/coyote)[ RSS](/packages/aztech-coyote/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (9)Versions (6)Used By (0)

coyote
======

[](#coyote)

[![Build Status](https://camo.githubusercontent.com/818be742361be6367bd7f3d7a81fa230d355aa7fadd3169e2ba0191af6a80cac/68747470733a2f2f7472617669732d63692e6f72672f617a746563682d6469676974616c2f636f796f74652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/aztech-digital/coyote)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/b3433ed9c9666ad8899ea1122b8fda5d45afd4aa1b7a82e5d57ccc4fe6e24f58/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f617a746563682d6469676974616c2f636f796f74652e7376673f7374796c653d666c6174)](https://scrutinizer-ci.com/g/aztech-digital/coyote/?branch=master)[![Coverage Status](https://camo.githubusercontent.com/acb47560d8a05872fb1460a06cf359373dfd2867dec489ab79a7eabcaa5d12c5/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f617a746563682d6469676974616c2f636f796f74652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/r/aztech-digital/coyote?branch=master)[![HHVM Support](https://camo.githubusercontent.com/530f8ff9d864669259f1023fabcb0e359195e02f9b711318f080684e73e07ac5/68747470733a2f2f696d672e736869656c64732e696f2f6868766d2f617a746563682f636f796f74652e737667)](http://hhvm.h4cc.de/package/aztech/coyote)

[![License](https://camo.githubusercontent.com/6ec68f48a5f9540bde65e754c3f2f1b2791b1baf021349e1b4cf94a1fc96c24e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f617a746563682f636f796f74652e7376673f7374796c653d666c6174)](https://packagist.org/packages/aztech/coyote)[![Latest Stable Version](https://camo.githubusercontent.com/c71f8a1c5a5378e4bba006cce4a9d414b11bff8b0a4e88a43e384fa629b0a4a0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617a746563682f636f796f74652e7376673f7374796c653d666c6174)](https://packagist.org/packages/aztech/coyote)

Coyote is a library to send emails and text messages with support for multiple provides

Setup
-----

[](#setup)

### Install the library

[](#install-the-library)

[Composer](https://getcomposer.org) is the only supported way of installing Coyote. From the root of your project, run the following command:

```
composer require aztech/coyote

```

### Pick a provider

[](#pick-a-provider)

Coyote is only an abstraction layer on top of existing SDK's, and by default, does not include those in order to avoid loading too many packages in your project.

Here's the list of the required packages to be able to use each provider:

#### For email

[](#for-email)

- Mandrill: `composer require mandrill/mandrill:~1.0`
- Mailgun: `composer require mailgun/mailgun:~1.7`

#### For text messages

[](#for-text-messages)

- Twilio: `composer require twilio/sdk:~3.12`

Features
--------

[](#features)

- Send transactional emails
- Build messages using local or remote (ie. Mandrill/Mailchimp templates) message templates
- Send text messages
- Optional integration with [Phinject](https://github.com/aztech-digital/phinject) DI container

Usage
-----

[](#usage)

### Send emails

[](#send-emails)

```
use \Aztech\Coyote\Email\Address;
use \Aztech\Coyote\Email\Message;
use \Aztech\Coyote\Email\Provider\MailgunFactory;

require_once 'vendor/autoload.php';

$factory = new MailgunFactory();
$provider = $factory->buildProvider([
    'key' => 'MAILGUN_APIKEY',
    'domain' => 'mydomain.com'
]);

$message = new \Aztech\Coyote\Email\Message();

$message->addRecipient(new Address('email@domain.com');
$message->setTitle('News');
$message->setBody('Hello, how are you ?');

$provider->send($message);
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity11

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

Total

5

Last Release

4159d ago

PHP version history (2 changes)0.0.1PHP &gt;=5.3

0.1.1PHP &gt;=5.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/58d21270e5d40f7ee05bb875b2442496ffd38cec041f7fdcc507b8b040f7e7f8?d=identicon)[thibaud-evaneos](/maintainers/thibaud-evaneos)

---

Top Contributors

[![aztech-dev](https://avatars.githubusercontent.com/u/93562568?v=4)](https://github.com/aztech-dev "aztech-dev (7 commits)")

---

Tags

mailsmstwiliomailgunmandrilltext message

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/aztech-coyote/health.svg)

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

###  Alternatives

[symfony/mailer

Helps sending emails

1.6k409.1M1.4k](/packages/symfony-mailer)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[zbateson/mail-mime-parser

MIME email message parser

54753.3M91](/packages/zbateson-mail-mime-parser)[omnimail/omnimail

PHP Library to send email across all platforms using one interface.

33235.4k](/packages/omnimail-omnimail)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2588.4M17](/packages/laravel-notification-channels-twilio)[illuminate/mail

The Illuminate Mail package.

5910.6M500](/packages/illuminate-mail)

PHPackages © 2026

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