Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Serializer Laravel Package

jms/serializer

Powerful PHP serializer/deserializer for complex object graphs, with JSON/XML support, circular reference handling, rich exclusion strategies, versioning, and built-in type handlers. Configurable via annotations, YAML, or XML; integrates with Doctrine ORM.

View on GitHub
Deep Wiki
Context7

jms/serializer is a powerful PHP library to serialize and deserialize complex object graphs to JSON or XML. It’s designed for real-world applications where you need fine-grained control over output formats, compatibility across API versions, and safe handling of tricky cases like circular references.

Configure mappings via annotations, YAML, or XML, and integrate smoothly with common ecosystems (including Doctrine ORM) to tailor payloads to your domain model.

  • Supports complex graphs with circular reference handling and exclusion strategies
  • Built-in handlers for common PHP types (DateTime, intervals, etc.)
  • Versioning support for evolving APIs
  • Multiple configuration formats: Annotations / YAML / XML
  • Integrations with tools like Doctrine ORM
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport