prolix / serializer
Library for (de-)serializing data of any complexity; supports XML, JSON, and YAML.
Requires
- php: ^7.2
- doctrine/annotations: ^1.0
- doctrine/instantiator: ^1.3.0
- hoa/compiler: ^3.17.08.08
- prolix/metadata: 2.1.*
Requires (Dev)
- ext-pdo_sqlite: *
- doctrine/coding-standard: ^7.0
- doctrine/orm: 2.7.*
- doctrine/phpcr-odm: ^1.3|^2.0
- jackalope/jackalope-doctrine-dbal: 1.3.*
- phpunit/phpunit: ^8.5
- psr/container: ^1.0
- symfony/dependency-injection: ^3.0|^4.0|^5.0
- symfony/expression-language: ^3.0|^4.0|^5.0
- symfony/filesystem: ^3.0|^4.0|^5.0
- symfony/form: ^3.0|^4.0|^5.0
- symfony/translation: ^3.0|^4.0|^5.0
- symfony/validator: ^3.1.9|^4.0|^5.0
- symfony/yaml: ^3.3|^4.0|^5.0
- twig/twig: ^1.12|^2.0|^3.0
Suggests
- doctrine/cache: Required if you like to use cache functionality.
- doctrine/collections: Required if you like to use doctrine collection types as ArrayCollection.
- symfony/yaml: Required if you'd like to use the YAML metadata format.
Conflicts
- hoa/consistency: <1.17.05.02
- hoa/core: *
- hoa/iterator: <2.16.03.15
- dev-master / 2.1.x-dev
- 2.1.8
- 2.1.7
- 2.1.6
- 2.1.5
- 2.1.2
- 2.1.0
- 2.0.2
- 2.0.1
- 2.0.0
- 2.0.0-RC1
- 2.0.0-beta1
- 1.x-dev
- 1.13.0
- 1.12.1
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.2
- 1.9.1
- 1.9.0
- 1.8.1
- 1.8.0
- 1.7.1
- 1.7.0
- 1.7.0-RC2
- 1.7.0-RC1
- 1.6.2
- 1.6.1
- 1.6.0
- 1.6.0-RC1
- 1.5.0
- 1.5.0-RC1
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.1
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- dev-kunicmarko20-deserialize_null
- dev-property-selector
- dev-extract-prop-exclusion
- dev-InheritanceSameProprietyName
- dev-generated-hydrator
- dev-type-def-value-object
- dev-working-compiled-navigator
This package is auto-updated.
Last update: 2024-11-06 00:37:37 UTC
README
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 2.x version, if you are interested in the 1.x version, check the 1.x branch.
Differences between the 1.x and 2.x can be found in the CHANGELOG.
Upgrading from 1.x to 2.x should be almost transparent for most of the userland code, in the
case you have heavily used internal-api or you are relaying on some of the removed features,
the UPGRADING document is a short guide on how to upgrade.
Pull requests for new features are accepted only on the master branch. Bug fixes are accepted for both master and 1.x branches. Bug fixes sent on the 1.x branch, will be ported to the master branch when possible.