mrbig00/yii2-sendmachine

Yii2 implementation of the Sendmachine API

Installs: 23

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

dev-master 2017-07-14 08:18 UTC

This package is auto-updated.

Last update: 2025-04-22 03:10:15 UTC


README

Yii2 implementation of the Sendmachine API

Installation

The preferred way to install this extension is through composer.

Either run

php composer require --prefer-dist mrbig00/yii2-sendmachine "*"

or add

"mrbig00/yii2-sendmachine": "*"

to the require section of your composer.json file.

Configuration

Set your credentials

'components' => [ 
    
    'sendmachine' => [
        'sendmachine' => [
            'class'    => 'mrbig00\sendmachine\Sendmachine',
            'username' => '__YOUR_USERNAME_FROM_SMTP_PANEL__',
            'password' => '__YOUR_PASSWORD_FROM_SMTP_PANEL__'
        ],
    ]
    
]

Usage

\Yii::$app->sendmachine->client

Docs: http://developers.sendmachine.com/

Based on

https://github.com/Sendmachine