gofintech/serializer

PHP object serializer when you need a stand-alone component

v1.5 2023-02-03 12:42 UTC

This package is auto-updated.

Last update: 2024-04-07 15:30:45 UTC


README

Symfony has a full-featured object serializer component. However, unless you get it pre-configured, you will probably have a hard time making it work the way you need it.

This small package wraps up Symfony components needed for the "usual case" of object serialization/deserialization. It makes sure you get all the common dependencies and configures type discovery through reflection and phpDoc.

This serializer is deliberately made to "just work". In particular, it lacks any configuration. If you need something else, just use the original components and set them up the way you need.