marceloeatworld/plunk-laravel
最新稳定版本:0.1.1
Composer 安装命令:
composer require marceloeatworld/plunk-laravel
包简介
Laravel mail transport for Plunk API
README 文档
README
A Laravel mail transport for sending emails via the Plunk API. Works with both the official Plunk service and self-hosted Plunk instances.
Installation
You can install the package via Composer:
composer require MarceloEatWorld/plunk-laravel
Publish the config file:
php artisan vendor:publish --tag="plunk-config"
Configuration
Add these variables to your .env file:
MAIL_MAILER=plunk PLUNK_API_KEY=your-plunk-api-key PLUNK_API_URL=https://api.useplunk.com
For self-hosted Plunk installations, use:
PLUNK_API_URL=https://your-domain.com PLUNK_API_ENDPOINT=/api/v1/send
Usage
Once configured, you can use the Laravel mailer as usual:
Mail::to('example@example.com') ->send(new App\Mail\WelcomeMail());
Credits
- Marcelo EatWorld
- All Contributors
License
The MIT License (MIT). Please see the License File for more information.
统计信息
- 总下载量: 36
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-04-25