A one class lib to parse multipart document ( multipart email, multipart form, etc ...) and manage each part encoding and charset to extract their content.
A one class lib to parse multipart document ( multipart email, multipart form, etc ...) and manage each part encoding and charset to extract their content.
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.
No open issues yet, or sync has not completed.