magentron/elasticemail-php

Integration to the Elastic Email API http://api.elasticemail.com/public/help

1.0.6 2018-06-28 13:56 UTC

This package is not auto-updated.

Last update: 2024-11-10 06:12:33 UTC


README

CircleCI Coverage Status Scrutinizer Code Quality SensioLabsInsight StyleCI

This is a fork of rdok/elasticemail-php by Jeroen Derks, a.k.a Magentron. This fork was created in order to have be able to use with PHPUnit 7+ and to have author- and environment-independent tests.

ElasticEmailPHP is a PHP Library for interacting with Elastic Email platform API.

Example

$elasticEmail = new \ElasticEmail\ElasticEmail('your_elastic_api_key');

$elasticEmail->email()->send([
    'to'      => 'to_email',
    'subject' => 'subject',
    'from'    => 'from_email'
]);

Installation

Using composer

composer require magentron/elasticemail-php