speakeasy / serializer
Temporary fork of JMS Serializer while upstream changes are being made.
Fund package maintenance!
goetas
Installs: 18 240
Dependents: 9
Suggesters: 0
Security: 0
Stars: 0
Watchers: 6
Forks: 0
Open Issues: 0
Requires
- php: ^7.4 || ^8.0
- doctrine/instantiator: ^1.3.1 || ^2.0
- doctrine/lexer: ^2.0 || ^3.0
- jms/metadata: ^2.6
- phpstan/phpdoc-parser: ^1.20
Requires (Dev)
- ext-pdo_sqlite: *
- doctrine/annotations: ^1.14 || ^2.0
- doctrine/coding-standard: ^12.0
- doctrine/orm: ^2.14 || ^3.0
- doctrine/persistence: ^2.5.2 || ^3.0
- doctrine/phpcr-odm: ^1.5.2 || ^2.0
- jackalope/jackalope-doctrine-dbal: ^1.3
- ocramius/proxy-manager: ^1.0 || ^2.0
- phpbench/phpbench: ^1.0
- phpstan/phpstan: ^1.10.57
- phpunit/phpunit: ^9.0 || ^10.0 || ^11.0
- psr/container: ^1.0 || ^2.0
- rector/rector: ^1.0.0
- symfony/dependency-injection: ^5.4 || ^6.0 || ^7.0
- symfony/expression-language: ^5.4 || ^6.0 || ^7.0
- symfony/filesystem: ^5.4 || ^6.0 || ^7.0
- symfony/form: ^5.4 || ^6.0 || ^7.0
- symfony/translation: ^5.4 || ^6.0 || ^7.0
- symfony/uid: ^5.4 || ^6.0 || ^7.0
- symfony/validator: ^5.4 || ^6.0 || ^7.0
- symfony/yaml: ^5.4 || ^6.0 || ^7.0
- twig/twig: ^1.34 || ^2.4 || ^3.0
Suggests
- doctrine/collections: Required if you like to use doctrine collection types as ArrayCollection.
- symfony/cache: Required if you like to use cache functionality.
- symfony/uid: Required if you'd like to serialize UID objects.
- symfony/yaml: Required if you'd like to use the YAML metadata format.
This package is not auto-updated.
Last update: 2024-11-19 21:21:20 UTC
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.