PHPackages                             nawazm92/paubox-test - 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. nawazm92/paubox-test

ActiveLibrary

nawazm92/paubox-test
====================

A PHP package for the Paubox Transactional Email API (Fork of original paubox-php SDK)

v3.0.0(4y ago)02Apache-2.0PHPPHP ^7.3

Since Apr 25Pushed 3y agoCompare

[ Source](https://github.com/nawazm92/paubox-test)[ Packagist](https://packagist.org/packages/nawazm92/paubox-test)[ Docs](https://github.com/omarpre/paubox)[ RSS](/packages/nawazm92-paubox-test/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

#### This is fork of Paubox php SDK, to make it compatible with Laravel version 8

[](#this-is-fork-of-paubox-php-sdk-to-make-it-compatible-with-laravel-version-8)

---

[![Paubox](https://avatars.githubusercontent.com/u/22528478?s=200&v=4)](https://avatars.githubusercontent.com/u/22528478?s=200&v=4)

Paubox PHP
==========

[](#paubox-php)

This is the official PHP wrapper for the [Paubox Email API](https://www.paubox.com/solutions/email-api).

The Paubox Email API allows your application to send secure, HIPAA compliant email via Paubox and track deliveries and opens. The API wrapper also allows you to construct and send messages.

Table of Contents
=================

[](#table-of-contents)

- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)

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

[](#installation)

Using composer:

```
$ composer require omarpre/paubox
```

### Getting Paubox API Credentials

[](#getting-paubox-api-credentials)

You will need to have a Paubox account. You can [sign up here](https://www.paubox.com/join/see-pricing?unit=messages).

Once you have an account, follow the instructions on the Rest API dashboard to verify domain ownership and generate API credentials.

### Configuring API Credentials

[](#configuring-api-credentials)

Include your API credentials in your environment file.

```
$ echo "export PAUBOX_API_KEY='YOUR_API_KEY'" > .env
$ echo "export PAUBOX_API_USER='YOUR_ENDPOINT_NAME'" >> .env
$ source .env
$ echo ".env" >> .gitignore
```

Usage
-----

[](#usage)

To send email, prepare a Message object and call the sendMessage method of Paubox.

### Sending messages

[](#sending-messages)

```
