一个类库用于解析多部分文档(多部分电子邮件、多部分表单等)并管理每个部分的编码和字符集,以提取其内容。
Riverline\MultiPartParse is a one class library to parse multipart documents (multipart email, multipart form, etc ...)
and manage each part encoding and charset to extract their content.
Riverline\MultiPartParse is compatible with composer and any psr-0/psr-4 autoloader.
composer require riverline/multipart-parser…The library also provides three converters to quickly parse PSR-7, HttpFoundation and native requests.
<?php
use \Riverline\MultiPartParser\Converters;
// Parse $_SERVER and STDIN
$document = Converters\Globals::convert();The old Part parser is now deprecated and replaced with a wrapper class that create a temporary stream
from the string content and call the new StreamedPart parser.
暂无开放 Issues,或尚未同步最近议题。