analyticsface/yii2-mailgun
最新稳定版本:v1.2.1
Composer 安装命令:
composer require analyticsface/yii2-mailgun
包简介
Mailgun SDK PHP for Yii2 Framework.
README 文档
README
Installation
The preferred way to install this extension is through composer. This requires the composer-asset-plugin, which is also a dependency for yii2 – so if you have yii2 installed, you are most likely already set.
Add to composer.json
"analyticsface/yii2-mailgun" : "~1.2"
to the require section of your application's composer.json file.
Usage
'components' => [
...
'mailer' => [
'class' => 'aface\mailgun\Mailer',
'viewPath' => '@common/mail',
'key' => 'key-example',
'domain' => 'mg.example.com',
],
...
],
Validate email
Yii::$app->mailer->emailValidate($email)
统计信息
- 总下载量: 3.32k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2017-04-25