Weave 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 Extension Bundle

Serializer Extension Bundle Laravel Package

invis1ble/serializer-extension-bundle

Symfony bundle that extends the Serializer component with additional normalizers, encoders, and configuration options, making it easier to serialize and deserialize PHP objects to JSON, XML, and other formats in Symfony applications.

View on GitHub
Deep Wiki
Context7

invis1ble/serializer-extension-bundle is a Symfony bundle that makes it easy to extend the native Serializer with custom normalizers, denormalizers, and attribute-driven behavior. It integrates extension services into the Symfony container so serialization logic stays reusable, configurable, and consistent across your application.

  • Registers custom normalizers and denormalizers via bundle configuration
  • Supports attribute-based serialization extensions
  • Keeps serializer services autowireable and framework-native
  • Simplifies reuse of shared serialization rules across projects
Frequently asked questions about Serializer Extension Bundle
Can I install invis1ble/serializer-extension-bundle in a Laravel application?
Out of the box, no. This is a Symfony bundle, not a Laravel package: it ships a Bundle class and a DependencyInjection extension that are loaded by Symfony's kernel, and Laravel has no bundle concept or Kernel::registerBundles lifecycle. composer require would install files but register nothing, leaving the package inert. Treat it as source material rather than a dependency.
What does invis1ble/serializer-extension-bundle actually do?
It integrates the invis1ble/serializer-extension library into Symfony's Serializer component. The bundle adds configurable normalizers, encoders, and extension hooks that you register through bundle configuration, aiming to keep API payloads consistent and reduce boilerplate. Its value is split between plain serializer classes and Symfony container wiring.
Which Symfony and PHP versions does it require?
The available evaluation does not list explicit constraints, so check composer.json before assuming support. The package targets a specific symfony/serializer major line, and Serializer has had BC changes in normalizer signatures and context handling between 6.x and 7.x. Confirm both the Symfony and PHP constraints and whether the code uses v6 or v7 NormalizerInterface signatures.
How do I install invis1ble/serializer-extension-bundle with Composer?
Run composer require invis1ble/serializer-extension-bundle and, in Symfony, register the bundle in config/bundles.php. In Laravel there is no equivalent registration step, so the install alone does nothing. If you only want the normalizer classes, vendor them into your app instead of installing the bundle.
Can I use its normalizers in Laravel without the bundle?
Often yes, if the useful logic lives in classes implementing NormalizerInterface or DenormalizerInterface rather than in compiler passes and tagged service definitions. The MIT license makes copying classes into app/Support/Serialization with attribution legally clean. You will need to strip or replace any constructor dependencies on ContainerInterface.
What Laravel alternatives cover the same serialization use case?
Laravel already covers most of the same ground with API Resources and JsonResource, Eloquent casts, and spatie/laravel-data for DTO hydration. symfony/serializer itself is framework-agnostic and can be used standalone if you specifically need its normalizer pipeline. Only adopt this bundle if it addresses a gap you can name.
Is this package production-ready or actively maintained?
Adoption signals are effectively zero: 0 stars, 0 dependents, a single maintainer, and a release timestamp of 2026-09-29 that looks like a metadata anomaly. There is no production evidence anywhere in the ecosystem, and the evaluation scored it 19/100. Bus factor is one, with no visible security advisory process.
How much of the package is Symfony container configuration versus plain PHP?
The evaluation flags this as an open question that must be answered by reading src/. If most of the value is in normalizers and denormalizers, the logic is portable to Laravel. If it is in compiler passes, autoconfiguration, and config trees, it is effectively Symfony-only and would need reimplementation.
How should I test serialization edge cases before adopting it?
Write characterization tests against the normalizers before trusting them, covering nulls, nested objects, circular references, polymorphism, date formats, partial denormalization, and strict versus lenient type coercion. Prefer instantiating classes with new so you avoid the container. These edge cases tend to fail silently in serializer extensions with no downstream users.
What compatibility risks should I check before depending on this package?
Check the declared Symfony and PHP constraints, whether classes require ContainerInterface, and whether there is CI, a test suite, and a changelog. Inspect the actual content of the 2026-09-29 release and the maintainer's commit cadence independent of the tag. Also map overlap with spatie/laravel-data, API Resources, or custom casts before adding a dependency.
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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource