mehedimi/laravel-sendgrid
Composer 安装命令:
composer require mehedimi/laravel-sendgrid
包简介
A package for using sendgrid as an email sending driver for Laravel
README 文档
README
SendGrid mailer for Laravel Framework
Installation
composer require mehedimi/laravel-sendgrid
Configure
First you need to add the sendgrid api config services.php file
'sendgrid' => [
'api_key' => env('SENDGRID_API_KEY')
]
Next you need to add the sendgrid mailable config into mail.php file on mailers array
'sendgrid' => [
'transport' => 'sendgrid',
'options' => [
// optional sendgrid `/mail/send` endpoints value (if you need)
]
],
Third step you need to add SENDGRID_API_KEY environment variable on the .env file and set value of MAIL_MAILER to sendgrid
统计信息
- 总下载量: 18
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-09-15