artack / delivery-status-notification
交付状态通知 (DSN) 解析器 (RFC-3464 & RFC-1894)
0.1.0
2019-03-25 11:57 UTC
Requires
- php: ^7.2
Requires (Dev)
- phpunit/phpunit: ^8.0
- symfony/var-dumper: ^4.2
This package is auto-updated.
Last update: 2024-09-04 18:32:08 UTC
README
本包提供交付状态通知 (RFC 3464 & RFC 1894) 的解析器。
安装
要安装,请使用 composer
composer require artack/delivery-status-notification
用法
DSN 模型可以通过使用静态方法 from()
进行解析。
use Artack\Dsn\DeliveryStatusNotification; $dsn = DeliveryStatusNotification::from($dsnMimePartContent);
测试
$ ./vendor/bin/phpunit
致谢
许可
MIT 许可证 (MIT)。请参阅 许可文件 获取更多信息。