clarification/sendgrid-laravel-driver 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

clarification/sendgrid-laravel-driver

最新稳定版本:2.0.1

Composer 安装命令:

composer require clarification/sendgrid-laravel-driver

包简介

Sendgrid mail driver for Laravel

README 文档

README

Install

Require this package with composer using the following command:

composer require clarification/sendgrid-laravel-driver

After updating composer, add the service provider to the providers array in config/app.php

Clarification\MailDrivers\Sendgrid\SendgridServiceProvider::class,

You will also need to add the sendgrid API Key settings to the array in config/services.php and set up the environment key

'sendgrid' => [
    'api_key' => env('SENDGRID_API_KEY'),
],

Then in your .env file you have to add

SENDGRID_API_KEY=__Your_key_here__

Finally you need to set your mail driver to sendgrid. You can do this by changing the driver in config/mail.php

'driver' => env('MAIL_DRIVER', 'sendgrid'),

Or by setting the environment variable MAIL_DRIVER in your .env file

MAIL_DRIVER=sendgrid

If you need to pass any options to the guzzle client instance which is making the request to the Send Grid API, you can do so by setting the 'guzzle' options in config/services.php

'sendgrid' => [
    'api_key' => env('SENDGRID_API_KEY'),
    'guzzle' => [
        'verify' => true,
        'decode_content' => true,
    ]
],

统计信息

  • 总下载量: 31.07k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 11
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 11
  • Watchers: 3
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-04-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固