Since version 3 the CMandrill component comes with a library called CMandrill. This library is a fork of the official PHP Mandrill wrapper. Our goal with this library is to make it compatible with the Joomla Coding standards and make it easy for developers to use it in their own projects based on the Joomla framework, or in CLI scripts. If you are interested in the library, check out the github repository!