PHPackages                             quartzy/courier - 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. quartzy/courier

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

quartzy/courier
===============

A transactional email sending library using the php-email domain

0.7.0(7y ago)2320.4k[2 issues](https://github.com/quartzy/courier/issues)4Apache-2.0PHPPHP ^7.1

Since Jul 29Pushed 7y ago2 watchersCompare

[ Source](https://github.com/quartzy/courier)[ Packagist](https://packagist.org/packages/quartzy/courier)[ RSS](/packages/quartzy-courier/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (10)Dependencies (4)Versions (14)Used By (4)

Courier
=======

[](#courier)

[![Latest Version on Packagist](https://camo.githubusercontent.com/7a174e0e73c3acdd13114b05d4416968ca399a692db8bea263e30599f9d83daa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f71756172747a792f636f75726965722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/quartzy/courier)[![Total Downloads](https://camo.githubusercontent.com/1703e5c013e8c90b5db8ede9bce6d89087a5fdaba4a2197f114180c3a6712d48/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f71756172747a792f636f75726965722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/quartzy/courier)[![Software License](https://camo.githubusercontent.com/f9a2da5664498a2a168a000b85719b4e5a61b6df8aae02cca978ef2580f8b1dc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d417061636865253230322e302d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/d211791010b8e83b4a26f3f7c1868d96f5c1270f42dc1fb14e19494b36284c34/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f71756172747a792f636f75726965722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/quartzy/courier)[![Coverage Status](https://camo.githubusercontent.com/a4d9a1d69329f60948dbaf7e1687d989ab90823591d63360a939e2d740701483/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f71756172747a792f636f75726965722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/quartzy/courier)[![Style Status](https://camo.githubusercontent.com/0cb21bc498db02c6c887afed34ad98b0a91b08121f1fa0d7bf7f3e244c0b8eb2/68747470733a2f2f7374796c6563692e696f2f7265706f732f39383639333238302f736869656c64)](https://styleci.io/repos/98693280)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/4deba5c5a66813bc17a8e58aaadb76bd96ca7ac7b116ccdf7edbea138bcd8785/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f71756172747a792f636f75726965722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/quartzy/courier)

Courier is a library to send transactional emails using domain objects and concise interfaces.

See full [documentation](https://quartzy.github.io/courier) for more details.

Courier provides an interface to sending standardized emails using third-party SaaS SMTP providers, like SparkPost and Postmark. By leveraging a [standardized domain model](https://github.com/quartzy/php-email) for defining emails, Courier is capable of defining drivers (or "couriers" in our case) that allow the developer to easily switch how the provider sending their emails without changing any part of their code that builds the email.

Install
-------

[](#install)

### Via Composer

[](#via-composer)

```
composer require quartzy/courier
```

Usage
-----

[](#usage)

Each email provider will also have their own courier dependency:

```
# Send emails with Sparkpost
composer require quartzy/courier-sparkpost
```

Now you just need to create an email and send it:

```
