robkerry/emailit-laravel-driver
最新稳定版本:v1.3
Composer 安装命令:
composer require robkerry/emailit-laravel-driver
包简介
Emailit Laravel Driver
README 文档
README
This PHP package provides a native mail driver for Laravel applications. Once installed and configured, Mailers are routed via the Emailit API.
Table of Contents
Installation
Requirements
- Laravel 10.0+
- PHP 8.0+
- Guzzle 7.0+
- An API Key from emailit.com
Setup
You can install the package via composer:
composer require robkerry/emailit-laravel-driver
If you'd like to publish the config file, you can do that using:
php artisan vendor:publish --tag=emailit-config
Next, you need to set EMAILIT_API_KEY in your .env file:
EMAILIT_API_KEY=
And set the environment variable MAIL_MAILER in your .env file
MAIL_MAILER=emailit
Then, double check that your FROM data is filled in .env:
MAIL_FROM_ADDRESS=app@yourdomain.com MAIL_FROM_NAME="App Name"
Lastly, add Emailit as a Laravel Mailer in config/mail.php in the mailers array:
'emailit' => [ 'transport' => 'emailit', ],
Thanks
This plugin is a fork of the MailerSend package found here: https://github.com/mailersend/mailersend-laravel-driver
Thank you to them for creating and MIT licensing it, so that I could use it for my current email provider.
License
统计信息
- 总下载量: 927
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-11-15