2017 © Pedro Peláez
 

lithium-library li3_mandrill

Li3 wrapper for Mandrill

image

robert-christopher/li3_mandrill

Li3 wrapper for Mandrill

  • Thursday, December 17, 2015
  • by Robert-Christopher
  • Repository
  • 1 Watchers
  • 0 Stars
  • 36 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

li3_mandrill

Mandrill Wrapper for LI3, (*1)

Installation

Get the library code:, (*2)

$ cd /path/to/app/libraries
$ git clone https://github.com/Knodes/li3_mandrill.git

Make sure it's added on app/config/bootstrap/libraries.php with the path included:, (*3)

Libraries::add('li3_mandrill', array(
  'includePath' => true,
));

Configuration

Make sure your environments have the Mandrill apikey setup as: - mandrill.apikey, (*4)

Usage

li3_mandrill supplies you with a static class (li3_mandrill\core\Li3Mandrill) that's a basic wrapper to all methods the Mandrill PHP Client accepts., (*5)

On top of that it manages the instance of the Mandrill object automatically, so there's no need to create it manually., (*6)

Example

use li3_mandrill\core\Li3Mandrill;

...
//instead of Mandrill->messages->send->( $message, $async ... ) use:
$res = Li3Mandrill::messages( 'send', $message, $async ... );

The Versions

17/12 2015

dev-master

9999999-dev https://github.com/Robert-Christopher/li3_mandrill

Li3 wrapper for Mandrill

  Sources   Download

MIT

The Requires

 

by Robert Christopher

email mandrill lithium li3