PHPackages                             shawnmccool/minimal-php-postmark-sdk - 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. shawnmccool/minimal-php-postmark-sdk

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

shawnmccool/minimal-php-postmark-sdk
====================================

A minimal PHP Postmark SDK that enables you to send single and batched email through the PostmarkApp.com service.

0.0.8(5y ago)216MITPHPPHP ^8

Since Dec 26Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ShawnMcCool/minimal-php-postmark-sdk)[ Packagist](https://packagist.org/packages/shawnmccool/minimal-php-postmark-sdk)[ RSS](/packages/shawnmccool-minimal-php-postmark-sdk/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (1)Versions (9)Used By (0)

Minimal PHP Postmark SDK
========================

[](#minimal-php-postmark-sdk)

A minimal PHP Postmark SDK that enables you to send single and batched email through the PostmarkApp.com service.

- [Design](#design)
- [Install](#install)
- [Creating Mailings](#creating-mailings)
    - [Simple Mail](#simple-mail)
    - [Tags and Metadata](#tags-and-metadata)
    - [File Attachments](#file-attachments)
    - [Postmark Templates](#postmark-templates)
    - [Named Parameters](#named-parameters)
- [Sending Mailings](#sending-mailings)
    - [The Postmark API](#the-postmark-api)
    - [Single Mailing](#single-mailing)
    - [Batch Mailing](#batch-mailing)
- [Development](#development)
    - [Running the Tests](#running-the-tests)
    - [The Virtual Machine](#the-virtual-machine)

Design
------

[](#design)

To maintain reliability, some objects are used for data (such as email and metadata) so that they can ensure that either the data conforms to specification or the developer is made aware of it as quickly as possible.

Install
-------

[](#install)

```
$ composer require shawnmccool/minimal-php-postmark-sdk
```

Creating Mailings
-----------------

[](#creating-mailings)

The Mailing class represents a single instance that will be sent to a single recipient.

### Simple Mail

[](#simple-mail)

To, from, subject, and body.

```
