invis1ble/symfony-serializer-extension
A lightweight extension for Symfony Serializer that adds practical enhancements to object (de)serialization, helping PHP applications handle common normalization and denormalization scenarios with less custom code.
^1.0 and ^1.1 constraints already resolve to v1.2.0. You get framework compatibility without a composer.json edit or a migration ticket — only pin ^1.2 explicitly if you want the new line to be deliberate and visible in review.Adopt when:
JsonResource / toArray conventions.Look elsewhere / treat with caution when:
To executives: A free, low-risk dependency update. It keeps our serialization layer compatible with both our current PHP versions and the next platform upgrade, so it removes a known blocker from the upgrade roadmap without a migration project or a change to any API response our customers or partners see. No new spend, no new vendor contract, no customer-visible behavior change.
To engineering: Patch-level upgrade, no normalizer API changes, existing ^1.0/^1.1 constraints already pick it up. It adds Symfony Serializer 8 support (PHP 8.4.1+ on that path) while retaining PHP 8.1 / Symfony 6.4 / 7, and ships CI fixes, stable dev dependencies, and integration coverage for URI round trips, JSON, context, cached support, and invalid data — all green including Codecov and Docker Lint, 25 tests per suite at 100% statement/method coverage across PHP 8.1/8.2/8.4/8.5. Two tracked compatibility issues are closed. Action: bump and let CI confirm; pin ^1.2 explicitly if you want the new line recorded rather than resolved implicitly. Watch item: it's a small maintainer footprint, so keep it isolated behind our own serialization boundary.
How can I help you explore Laravel packages today?