jms/serializer
Composer 安装命令:
composer require jms/serializer
包简介
Library for (de-)serializing data of any complexity; supports XML, and JSON.
README 文档
README
UKRAINE NEEDS YOUR HELP NOW!
On 24 February 2022, Russian President Vladimir Putin ordered an invasion of Ukraine by Russian Armed Forces.
Your support is urgently needed.
- Donate to the volunteers. Here is the volunteer fund helping the Ukrainian army to provide all the necessary equipment: https://bank.gov.ua/en/news/all/natsionalniy-bank-vidkriv-spetsrahunok-dlya-zboru-koshtiv-na-potrebi-armiyi or https://savelife.in.ua/en/donate/
- Triple-check social media sources. Russian disinformation is attempting to coverup and distort the reality in Ukraine.
- Help Ukrainian refugees who are fleeing Russian attacks and shellings: https://www.globalcitizen.org/en/content/ways-to-help-ukraine-conflict/
- Put pressure on your political representatives to provide help to Ukraine.
- Believe in the Ukrainian people, they will not surrender, they don't have another Ukraine.
THANK YOU!
jms/serializer
Introduction
This library allows you to (de-)serialize data of any complexity. Currently, it supports XML and JSON.
It also provides you with a rich tool-set to adapt the output to your specific needs.
Built-in features include:
- (De-)serialize data of any complexity; circular references and complex exclusion strategies are handled gracefully.
- Supports many built-in PHP types (such as dates, intervals)
- Integrates with Doctrine ORM, et. al.
- Supports versioning, e.g. for APIs
- Configurable via XML, YAML, or Annotations
Documentation
Learn more about the serializer in its documentation.
Notes
You are browsing the code for the 3.x version, if you are interested in the 1.x or 2.x version, check the 1.x and 2.x branches.
The version 3.x is the supported version (master branch).
The 1.x and 2.x versions are not supported anymore.
For the 1.x and 2.x branches there will be no additional feature releases.
Security issues will be fixed till the 1st January 2020 and
only critical bugs might receive fixes until the 1st September 2019.
Instructions on how to upgrade to 3.x are available in the UPGRADING document.
Professional Support
For eventual paid support please write an email to goetas@gmail.com.
jms/serializer 适用场景与选型建议
jms/serializer 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 141.74M 次下载、GitHub Stars 达 2.35k, 最近一次更新时间为 2012 年 12 月 01 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「json」 「xml」 「serialization」 「deserialization」 「jaxb」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 jms/serializer 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 jms/serializer 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 jms/serializer 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Fork of jms/serializer 1.14.1 with support for modern PHP versions.
Kinikit - PHP Application development framework MVC component
De/normalize business objects without tightly coupling them to your normalization format
ext-json wrapper with sane defaults
A package to cast json fields, each sub-keys is castable
Load DOM document safety
统计信息
- 总下载量: 141.74M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2407
- 点击次数: 36
- 依赖项目数: 1022
- 推荐数: 86
其他信息
- 授权协议: MIT
- 更新时间: 2012-12-01
