themosis/mailjet-driver 问题修复 & 功能扩展

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

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

themosis/mailjet-driver

Composer 安装命令:

composer require themosis/mailjet-driver

包简介

A Themosis / Laravel / Illuminate MailJet service mail driver.

README 文档

README

This package provides a MailJet mail driver for your Themosis / Laravel / Illuminate based application.

It extends the default list of mail drivers provided by the illuminate/mail package by adding the mailjet option.

Installation

The installation is done through Composer:

composer require themosis/mailjet-driver

Usage

Set the default driver

First, specify your default mail driver as mailjet from your application environment file and add the service public and secret keys:

MAIL_DRIVER=mailjet

MAILJET_PUBLIC_KEY=1234567890
MAILJET_SECRET_KEY=1234567890

Add the MailJet service

Open (or create) the config/services.php file and add the MailJet services credentials:

return [
    'mailjet' => [
        'public' => env('MAILJET_PUBLIC_KEY'),
        'secret' => env('MAILJET_SECRET_KEY'),
        'version' => env('MAILJET_VERSION', 'v3.1')
    ],
    ...
];

Set the service provider

By default, your application has the Illuminate\Mail\MailServiceProvicer defined inside the config/app.php file. In order to enable the mailjet driver, you need to replace the default service provider by the one provided by this package, the Themosis\MailJet\MailServiceProvider like so:

return [
    'providers' => [
        // Illuminate providers...

        Themosis\MailJet\MailServiceProvider::class,

        // Application providers
    ]
];

Changelog

Please see the CHANGELOG file for more information on releases changes.

Security

If you discover any security related issues, please send an email email to julien@themosis.com.

Credits

Support us

Themosis is a webdesign agency based in Arlon, Belgium. We specialized in custom publishing web platforms and have expertise in building applications with WordPress.

We've built the Themosis framework, an open-source WordPress framework.

License

GPL-2.0-or-later. Please see LICENSE file for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2019-07-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固