laminas/laminas-serializer
Serialize and deserialize PHP data using multiple adapters (e.g., PHP native, JSON, XML, WDDX) with consistent options, error handling, and extensibility. Useful for caching, sessions, message payloads, and storage across different formats.
Feature release (minor)
Feature release (minor)
Feature release (minor)
Backwards incompatible release (major)
With v3.0.0, a huge maintenance release is rolled out.
Every property and every method is now fully typed, starting with method arguments up to object properties.
These kind of changes were necessary due to the changes in laminas-servicemanager v4.0.0 which is also fully typed starting with v4.0.
To reduce further maintenance effort, some niche serializers were dropped in favor or faster CI pipelines and due to the lack of cross-platform checks. Laminas wants to provide fully tested code which was not properly possible for at least the Wddx adapter.
The migration guide is available on the documentation website: https://docs.laminas.dev/laminas-serializer/v3/migration/to-version-3/
Laminas\Serializer\Serializer is removed in favor of proper dependency injectionLaminas\Serializer\Adapter\MsgPack is removed to reduce the amount of maintenance within this componentLaminas\Serializer\Adapter\PythonPickle is removed to reduce the amount of maintenance within this componentLaminas\Serializer\Adapter\Wddx is removed to reduce the amount of maintenance within this componentLaminas\Serializer\Serializer, projects now have to either instantiate the default serializer implementation or inject it by consuming the Laminas\Serializer\Adapter\AdapterInterface serviceLaminas\Serializer\GenericSerializerFactory in case projects want to re-configure the default serializer (PhpSerialize) provided by the Laminas\Serializer\Adapter\AdapterInterface servicelaminas/laminas-servicemanager v4.0.0 and therefore psr/container v2.0.0laminas/laminas-servicemanager to v4.1.0+ thanks to @boesinglaminas-servicemanager thanks to @boesinglaminas-servicemanager v4.0 thanks to @boesingFeature release (minor)
2.16.x bugfix release (patch)
2.16.x bugfix release (patch)
Backwards incompatible release (major)
With v3.0.0, a huge maintenance release is rolled out.
Every property and every method is now fully typed, starting with method arguments up to object properties.
These kind of changes were necessary due to the changes in laminas-servicemanager v4.0.0 which is also fully typed starting with v4.0.
To reduce further maintenance effort, some niche serializers were dropped in favor or faster CI pipelines and due to the lack of cross-platform checks. Laminas wants to provide fully tested code which was not properly possible for at least the Wddx adapter.
Laminas\Serializer\Serializer is removed in favor of proper dependency injectionLaminas\Serializer\Adapter\MsgPack is removed to reduce the amount of maintenance within this componentLaminas\Serializer\Adapter\PythonPickle is removed to reduce the amount of maintenance within this componentLaminas\Serializer\Adapter\Wddx is removed to reduce the amount of maintenance within this componentLaminas\Serializer\Serializer, projects now have to either instantiate the default serializer implementation or inject it by consuming the Laminas\Serializer\Adapter\AdapterInterface serviceLaminas\Serializer\GenericSerializerFactory in case projects want to re-configure the default serializer (PhpSerialize) provided by the Laminas\Serializer\Adapter\AdapterInterface servicelaminas/laminas-servicemanager v4.0.0 and therefore psr/container v2.0.0Feature release (minor)
Laminas\Serializer\GenericSerializerFactory which is registered with Laminas\Serializer\Adapter\AdapterInterface in mezzio and laminas-mvc configuration to provide project default PhpSerialize serializer adapter via the container. Can be used in projects to reconfigure projects default serializer by overriding the Laminas\Serializer\Adapter\AdapterInterface in the container confgiuration in (dependencies/service_manager).factories.Laminas\Serializer\Serializer is deprecated and marked to be removed in v3.0.0.Feature release (minor)
This release removes support for PHP 7.3.
Feature release (minor)
Adds support for PHP 8.0.
Adds the ability to specify a "serializers" key in your application configuration that contains service manager-style configuration for populating the serializer adapter plugin manager; see the documentation for details.
How can I help you explore Laravel packages today?