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

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

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

comyoo/laravel-elastic-email

Composer 安装命令:

composer require comyoo/laravel-elastic-email

包简介

Wrapper for Elastic Email HTTP api to send mails using laravel

README 文档

README

A simple plugin to allow sending emails through Elastic E-Mail

Installation

You can add Laravel Elastic Email as a dependency using the composer CLI:

composer require comyoo/laravel-elastic-email

Next add the following to your config/services.php

'elastic_email' => [
	'secret' => env('ELASTIC_SECRET'),
	'username' => env('ELASTIC_USERNAME')
]

and add the correct values to your .env file.

Third disable the laravel default MailServiceProvider in config/app.php and add the new ServiceProvider

'providers' => [
    /*
     * Laravel Framework Service Providers...
     */
    ...
//    Illuminate\Mail\MailServiceProvider::class,
    Comyoo\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 was constructed to work exactly the same as the normal laravel mailers and thus usage is the same. For more information regarding sending email through laravel see the Laravel Documentation

This should work in Laravel 5.1 and up.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-01-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固