marko/mail
最新稳定版本:0.6.0
Composer 安装命令:
composer require marko/mail
包简介
Marko Framework Mail - Message building and mailing interfaces
README 文档
README
Mail contracts and message building -- compose emails with a fluent API and send them through any mail driver.
Installation
composer require marko/mail
Note: You also need an implementation package such as marko/mail-smtp or marko/mail-log.
Quick Example
use Marko\Mail\Contracts\MailerInterface; use Marko\Mail\Message; $message = Message::create() ->to('user@example.com', 'Jane Doe') ->from('hello@example.com', 'My App') ->subject('Welcome!') ->html('<h1>Welcome!</h1>') ->text('Welcome!'); $mailer->send($message);
Documentation
Full usage, API reference, and examples: marko/mail
统计信息
- 总下载量: 91
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 4
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-24