PHPackages                             dreamcampaigns/managesend-php - 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. dreamcampaigns/managesend-php

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

dreamcampaigns/managesend-php
=============================

A php library which implements the complete functionality of the DreamCampaigns API.

v1.2.7(5y ago)0771MITPHPPHP &gt;=5.3.3

Since Dec 31Pushed 5y ago1 watchersCompare

[ Source](https://github.com/dreamcampaigns/managesend-php)[ Packagist](https://packagist.org/packages/dreamcampaigns/managesend-php)[ Docs](https://api.managesend.com/)[ RSS](/packages/dreamcampaigns-managesend-php/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (1)Versions (15)Used By (1)

managesend-php
==============

[](#managesend-php)

[![Travis (.org)](https://camo.githubusercontent.com/b487c597ead8c5beab839016899d4d44dd420b0946d4afe2b2f4c0e5d3ee6a5a/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f647265616d63616d706169676e732f6d616e61676573656e642d706870)](https://camo.githubusercontent.com/b487c597ead8c5beab839016899d4d44dd420b0946d4afe2b2f4c0e5d3ee6a5a/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f647265616d63616d706169676e732f6d616e61676573656e642d706870)[![Packagist](https://camo.githubusercontent.com/d726b4ee7a0682541a02a6660de60bb39525682aad900f3db130cc2a825f2708/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f647265616d63616d706169676e732f6d616e61676573656e642d706870)](https://camo.githubusercontent.com/d726b4ee7a0682541a02a6660de60bb39525682aad900f3db130cc2a825f2708/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f647265616d63616d706169676e732f6d616e61676573656e642d706870)[![Packagist Version](https://camo.githubusercontent.com/ef5d8cc169bcedf27fac4cfcb70cd4cc58b296be459dc19b4cf4d15c44b55a7a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f647265616d63616d706169676e732f6d616e61676573656e642d706870)](https://camo.githubusercontent.com/ef5d8cc169bcedf27fac4cfcb70cd4cc58b296be459dc19b4cf4d15c44b55a7a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f647265616d63616d706169676e732f6d616e61676573656e642d706870)[![Packagist](https://camo.githubusercontent.com/71ced292792592d82a544514014be5d422cdb9fea1f8432cb6fc9af229bf20f9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f647265616d63616d706169676e732f6d616e61676573656e642d706870)](https://camo.githubusercontent.com/71ced292792592d82a544514014be5d422cdb9fea1f8432cb6fc9af229bf20f9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f647265616d63616d706169676e732f6d616e61676573656e642d706870)

A PHP library implementing the complete functionality of the [DreamCampaigns API](https://www.dreamcampaigns.com/). A complete suites of marketing tools for your business or website.

Supported PHP Versions
----------------------

[](#supported-php-versions)

This library supports the following PHP implementations:

- PHP 5.3
- PHP 5.4
- PHP 5.5
- PHP 5.6
- PHP 7.0
- PHP 7.1
- PHP 7.2
- PHP 7.3
- PHP 7.4

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

[](#installation)

You can install **managesend-php** via composer or by [`downloading`](https://github.com/dreamcampaigns/managesend-php/tags) the source.

### Via Composer

[](#via-composer)

**managesend-php** is available on Packagist as the [`dreamcampaigns/managesend-php`](https://packagist.org/packages/dreamcampaigns/managesend-php) package.

If you use [Composer](http://getcomposer.org/), you can run the following command from the root of your project to install:

```
composer require dreamcampaigns/managesend-php

```

### Manual Installation

[](#manual-installation)

If youn't use `Composer` you can simply [download](https://github.com/dreamcampaigns/managesend-php/tags) the library and include it in your project.

After you have installed the library, if you need an autoloader, simply include the managesend-php autoload class, as follows:

```
require_once __DIR__ . '/../managesend-php/autoLoader/autoload.php';
```

Authenticating
--------------

[](#authenticating)

The DreamCampaigns API uses Basic authentication using an API key and API secret.

Quickstart
----------

[](#quickstart)

### Send a Smart email

[](#send-a-smart-email)

```
// Send a Smart email using DreamCampaigns's REST API and PHP
