dev-master
9999999-dev https://github.com/Robert-Christopher/li3_mandrillLi3 wrapper for Mandrill
MIT
The Requires
- php >=5.3
- composer/installers *
by Robert Christopher
email mandrill lithium li3
Li3 wrapper for Mandrill
Mandrill Wrapper for LI3, (*1)
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, ));
Make sure your environments have the Mandrill apikey setup as: - mandrill.apikey, (*4)
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)
use li3_mandrill\core\Li3Mandrill; ... //instead of Mandrill->messages->send->( $message, $async ... ) use: $res = Li3Mandrill::messages( 'send', $message, $async ... );
Li3 wrapper for Mandrill
MIT
email mandrill lithium li3