Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/petrvacha/mandrill-api-php-ssl
mandrill-api-php with SSL verification
https://github.com/petrvacha/mandrill-api-php-ssl
api mandrill mandrill-api php ssl ssl-support
Last synced: about 2 months ago
JSON representation
mandrill-api-php with SSL verification
- Host: GitHub
- URL: https://github.com/petrvacha/mandrill-api-php-ssl
- Owner: petrvacha
- License: other
- Created: 2020-12-14T15:16:09.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-14T17:09:20.000Z (about 4 years ago)
- Last Synced: 2024-04-17T15:07:20.434Z (8 months ago)
- Topics: api, mandrill, mandrill-api, php, ssl, ssl-support
- Language: PHP
- Homepage: https://github.com/petrvacha/mandrill-api-php-ssl
- Size: 823 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mandrill API for PHP
This is a fork of an official library - [bitbucket.org/mailchimp/mandrill-api-php](https://bitbucket.org/mailchimp/mandrill-api-php).It supports SSL verification.
## Installation
```
composer require petrvacha/mandrill-api-php-ssl
```## Usage without SSL verification
```php
$yourKey = "yourSecretMandrillKey";
$mandrill = new Mandrill($yourKey);
```## Usage with SSL verification
Download cacart.pem from [curl.haxx.se/docs/caextract.html](http://curl.haxx.se/docs/caextract.html).
```php
$yourKey = "yourSecretMandrillKey";
$absolutePathToCaCert = "/etc/ssl/certs/cacert.pem";
$mandrill = new Mandrill($yourKey, $absolutePathToCaCert);
```