scubaclick/mandrill

Access the Mandrill API via Guzzle

v1.0 2013-09-22 16:54 UTC

This package is not auto-updated.

Last update: 2020-03-01 17:24:58 UTC


README

Provides a Guzzle service description to access the Mandrill API. Still being developed for ScubaClick, so handle with care for now!

Stable Version

v1.0

General Installation

Install by adding the following to the require block in composer.json:

"scubaclick/mandrill": "dev-master"

Then run composer update.

Laravel-specific Installation

Add the following in app/config/app.php to the service providers array:

'ScubaClick\Mandrill\Providers\LaravelServiceProvider',

Then add to the aliases array the following:

'Mandrill' => 'ScubaClick\Mandrill\Facades\LaravelFacade',

To change the configuration values, run the following command in the console:

php artisan config:publish scubaclick/mandrill

Usage

$response = \Mandrill::sendEmail([
	'message' => [
		// message configuration
	],
	'async' => true,
]);

Documentation

For the full documentation on Mandrill, please visit the API Docs

License

ScubaClick Mandrill is licenced under the MIT license.