百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
M

multipart-parser

> 编程语言
开源

一个类库用于解析多部分文档(多部分电子邮件、多部分表单等)并管理每个部分的编码和字符集,以提取其内容。

172 stars0 点赞4 次浏览
访问官网GitHub

工具介绍

一个类库用于解析多部分文档(多部分电子邮件、多部分表单等)并管理每个部分的编码和字符集,以提取其内容。

README

What is Riverline\MultiPartParser

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.

Requirements

  • PHP >= 5.6

Installation

Riverline\MultiPartParse is compatible with composer and any psr-0/psr-4 autoloader.

composer require riverline/multipart-parser

Usage

…

Converters

The library also provides three converters to quickly parse PSR-7, HttpFoundation and native requests.

php
<?php

use \Riverline\MultiPartParser\Converters;

// Parse $_SERVER and STDIN
$document = Converters\Globals::convert();

Backward compatibility

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· 2 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

PHP

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言