Apostle PHP wrapper for Yii 1.1. It's an CApplicationComponent with one public method - send($template, $to, $data = array())
.
After installing it through composer add this component into main.php.
'apostle' => [
'class' => 'yii\apostle\Component',
'domainKey' => 'ApostleDomainKey',
'from' => 'robot@test.com',
],