petrvacha / mandrill-api-php-ssl
API client library for the Mandrill email as a service platform. This fork supports a SSL verification.
1.1
2020-12-14 16:40 UTC
Requires
- php: >=5.2.0
This package is auto-updated.
Last update: 2026-08-15 05:26:44 UTC
README
This is a fork of an official library - bitbucket.org/mailchimp/mandrill-api-php.
It supports SSL verification.
Installation
composer require petrvacha/mandrill-api-php-ssl
Usage without SSL verification
$yourKey = "yourSecretMandrillKey"; $mandrill = new Mandrill($yourKey);
Usage with SSL verification
Download cacart.pem from curl.haxx.se/docs/caextract.html.
$yourKey = "yourSecretMandrillKey"; $absolutePathToCaCert = "/etc/ssl/certs/cacert.pem"; $mandrill = new Mandrill($yourKey, $absolutePathToCaCert);