magentron / elasticemail-php
Integration to the Elastic Email API http://api.elasticemail.com/public/help
1.0.6
2018-06-28 13:56 UTC
Requires
- php: >=7.0.0
- guzzlehttp/guzzle: ^6.3
- phpunit/phpunit: ^6.5|^7
Requires (Dev)
- vlucas/phpdotenv: ^2.2
This package is not auto-updated.
Last update: 2024-11-10 06:12:33 UTC
README
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