codiblenet/laravel-mail-reacher
Composer 安装命令:
composer require codiblenet/laravel-mail-reacher
包简介
Official Laravel mail transport for Mail Reacher.
README 文档
README
Official Laravel mail transport for Mail Reacher. It lets existing Mail, Mailable, notification and MailMessage flows send through Mail Reacher without rewriting application email code.
Installation
composer require codiblenet/laravel-mail-reacher
Publish config if needed:
php artisan vendor:publish --tag=mailreacher-config
Configuration
MAIL_MAILER=mailreacher MAILREACHER_API_KEY=mr_test_or_live_key MAIL_FROM_ADDRESS=noreply@example.com MAIL_FROM_NAME="Your App"
Add the mailer to config/mail.php if it is not already present:
'mailers' => [ 'mailreacher' => [ 'transport' => 'mailreacher', ], ],
That is intentionally the only Mail Reacher-specific environment knob for normal apps: the package sends to the official Mail Reacher API endpoint, and MAILREACHER_API_KEY selects the project environment/provider.
Existing Laravel Mail, Mailable, Notification and MailMessage flows keep working.
Example
use App\Mail\WelcomeMail; use Illuminate\Support\Facades\Mail; Mail::to('marie@example.com')->send(new WelcomeMail());
Publishing
This repository is intended to be published on Packagist as codiblenet/laravel-mail-reacher and versioned with GitHub releases/tags such as v0.1.0.
Testing
composer test
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-14