承接 ebethus/laravel-elastic-email-driver 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

ebethus/laravel-elastic-email-driver

最新稳定版本:1.0.2

Composer 安装命令:

composer require ebethus/laravel-elastic-email-driver

包简介

A Laravel Elastic Maling Driver

README 文档

README

A Laravel Mailing Driver for Elastic Email

Installation

Add Laravel Elastic Email as a dependency using the composer CLI:

composer require ebethus/laravel-elastic-email-driver

Next, add the following to your config/services.php and add the correct values to your .env file

'elastic_email' => [
	'key' => env('ELASTIC_KEY'),
	'account' => env('ELASTIC_ACCOUNT')
]

Next, in config/app.php, comment out Laravel's default MailServiceProvider. If using < Laravel 5.5, add the MailServiceProvider to the providers array

'providers' => [
    /*
     * Laravel Framework Service Providers...
     */
    ...
//    Illuminate\Mail\MailServiceProvider::class,
    Chocoholics\LaravelElasticEmail\MailServiceProvider::class,
    ...
],

Finally switch your default mail provider to elastic email in your .env file by setting

MAIL_DRIVER=elastic_email

Usage

This package works exactly like Laravel's native mailers. Refer to Laravel's Mail documentation.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 15
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-04-12