【文件属性】:
文件名称:themosis-mailgun-wrapper:Themosis框架的简单Mailgun包装器
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-20 03:01:11
PHP
蠕虫邮件枪包装器
一个简单的Mailgun包装。
快速设置
在项目根目录中打开.env.*.php ,并在数组末尾添加以下行:
'MAILGUN_KEY' => 'your mailgun key' ,
'MAILGUN_DOMAIN' => 'your mailgun domain' ,
用法示例
// Somewhere in your php code...
use Latehours \ Mailgun \ Mail ;
$ mail = new Mail ();
$ message = [ 'greeting' => 'Thanks for registering!' ];
// 'emails.greeting' is a Scout template
// $message is an array passed to the view
$ mail -> send
【文件预览】:
themosis-mailgun-wrapper-master
----LICENSE(1KB)
----composer.json(433B)
----Mail.php(914B)
----README.md(829B)