magentron/elasticemail-php

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

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: 2021-10-16 12:55:34 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