laminas/laminas-serializer
Serialize and deserialize PHP structures to a variety of representations
3.3.0
12M downloads/mo
#2333 most downloaded on Packagist
laminas/laminas-serializer
What this package is like to depend on
Last release 4 months ago
20 Apr 2026
Release timing varies
gaps range from 9 days to 12 months
Rarely documented
notes for 9 of 88 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
89 releases · first in 2019
2 releases in the last 12 months
see the full history below
Release timeline
81 releases · Dec 2019 to Apr 2026Releases
latest 60 of 89-
3.3.020 Apr 2026Release notes
Open source →Release Notes for 3.3.0
Feature release (minor)
3.3.0
- Total issues resolved: 0
- Total pull requests resolved: 2
- Total contributors: 2
Documentation,Enhancement
-
3.2.030 Jan 2026Release notes
Open source →Release Notes for 3.2.0
Feature release (minor)
3.2.0
- Total issues resolved: 1
- Total pull requests resolved: 2
- Total contributors: 2
Dependencies
Enhancement
-
3.1.015 Oct 2024Release notes
Open source →Release Notes for 3.1.0
Feature release (minor)
3.1.0
- Total issues resolved: 0
- Total pull requests resolved: 4
- Total contributors: 3
Enhancement
- 70: Ensure tests fail on warning, notice, deprecation etc thanks to @gsteel
- 68: PHP8.4 Support Added thanks to @cod43156
renovate
- 69: Update dependency laminas/laminas-coding-standard to v3 thanks to @renovate[bot]
- 67: Lock file maintenance, Documentation Linting Fixes thanks to @renovate[bot]
-
3.0.023 Apr 2024Release notes
Open source →Release Notes for 3.0.0
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 inlaminas-servicemanagerv4.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
Wddxadapter.The migration guide is available on the documentation website:
https://docs.laminas.dev/laminas-serializer/v3/migration/to-version-3/Breaking Changes
- All methods within this component now have typed arguments and typed return
- All properties within this component are now typed
Removed
Laminas\Serializer\Serializeris removed in favor of proper dependency injectionLaminas\Serializer\Adapter\MsgPackis removed to reduce the amount of maintenance within this componentLaminas\Serializer\Adapter\PythonPickleis removed to reduce the amount of maintenance within this componentLaminas\Serializer\Adapter\Wddxis removed to reduce the amount of maintenance within this component
Changed
- Due to the removal of
Laminas\Serializer\Serializer, projects now have to either instantiate the default serializer implementation or inject it by consuming theLaminas\Serializer\Adapter\AdapterInterfaceservice
Added
Laminas\Serializer\GenericSerializerFactoryin case projects want to re-configure the default serializer (PhpSerialize) provided by theLaminas\Serializer\Adapter\AdapterInterfaceservice- Compatibility with
laminas/laminas-servicemanagerv4.0.0 and thereforepsr/containerv2.0.0
3.0.0
- Total issues resolved: 2
- Total pull requests resolved: 12
- Total contributors: 3
Documentation
- 66: Documentation: Normalize intro table thanks to @boesing
- 40: Documentation and initial migration guide for 3.0.0 thanks to @boesing
Enhancement
- 65: Update
laminas/laminas-servicemanagerto v4.1.0+ thanks to @boesing - 57: Introduce some static analysis checks thanks to @boesing
- 43: Require stable v4.0 of
laminas-servicemanagerthanks to @boesing - 36: Remove support for PHP 8.0, Upgrade PHPUnit to 10.x thanks to @gsteel
Documentation,Enhancement
BC Break,Enhancement,Feature Removal
BC Break,Enhancement
- 37: Implementing native type-hints thanks to @boesing
- 25: Support and require
laminas-servicemanagerv4.0 thanks to @boesing - 20: Remove zend compatibility thanks to @boesing
BC Break,Documentation,Enhancement
BC Break,RFC
-
3.0.0-rc104 Sep 2023 pre-releaseRelease notes
Open source →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 inlaminas-servicemanagerv4.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
Wddxadapter.Breaking Changes
- All methods within this component now have typed arguments and typed return
- All properties within this component are now typed
Removed
Laminas\Serializer\Serializeris removed in favor of proper dependency injectionLaminas\Serializer\Adapter\MsgPackis removed to reduce the amount of maintenance within this componentLaminas\Serializer\Adapter\PythonPickleis removed to reduce the amount of maintenance within this componentLaminas\Serializer\Adapter\Wddxis removed to reduce the amount of maintenance within this component
Changed
- Due to the removal of
Laminas\Serializer\Serializer, projects now have to either instantiate the default serializer implementation or inject it by consuming theLaminas\Serializer\Adapter\AdapterInterfaceservice
Added
Laminas\Serializer\GenericSerializerFactoryin case projects want to re-configure the default serializer (PhpSerialize) provided by theLaminas\Serializer\Adapter\AdapterInterfaceservice- Compatibility with
laminas/laminas-servicemanagerv4.0.0 and thereforepsr/containerv2.0.0
-
2.18.028 Jan 2025Release notes
Open source →Release Notes for 2.18.0
Feature release (minor)
2.18.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
- 73: Drop PHP 8.0, allow PHP 8.4 thanks to @driehle
-
2.17.001 Oct 2023Release notes
Open source →Release Notes for 2.17.0
Feature release (minor)
2.17.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
- 49: Add support for PHP 8.3 thanks to @MauricioFauth
-
2.16.225 Sep 2023Release notes
Open source →Release Notes for 2.16.2
2.16.x bugfix release (patch)
2.16.2
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Bug,Documentation
-
2.16.113 Sep 2023Release notes
Open source →Release Notes for 2.16.1
2.16.x bugfix release (patch)
2.16.1
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Bug
-
2.16.004 Sep 2023Release notes
Open source →Release Notes for 2.16.0
Feature release (minor)
Added
- #41
Laminas\Serializer\GenericSerializerFactorywhich is registered withLaminas\Serializer\Adapter\AdapterInterfaceinmezzioandlaminas-mvcconfiguration to provide project defaultPhpSerializeserializer adapter via the container. Can be used in projects to reconfigure projects default serializer by overriding theLaminas\Serializer\Adapter\AdapterInterfacein the container confgiuration in (dependencies/service_manager).factories.
Deprecated
- #41
Laminas\Serializer\Serializeris deprecated and marked to be removed in v3.0.0.
2.16.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
- #41
-
2.15.008 Jul 2023Nothing published for this version
-
2.14.016 Oct 2022Nothing published for this version
-
2.13.011 Apr 2022Nothing published for this version
-
2.12.006 Dec 2021Nothing published for this version
-
2.11.024 Oct 2021Nothing published for this version
-
2.10.118 Feb 2021Nothing published for this version
-
2.10.017 Feb 2021Nothing published for this version
-
2.9.131 Dec 2019Nothing published for this version
-
2.9.031 Dec 2019Nothing published for this version
-
2.8.131 Dec 2019Nothing published for this version
-
2.8.031 Dec 2019Nothing published for this version
-
2.7.231 Dec 2019Nothing published for this version
-
2.7.131 Dec 2019Nothing published for this version
-
2.7.031 Dec 2019Nothing published for this version
-
2.6.131 Dec 2019Nothing published for this version
-
2.6.031 Dec 2019Nothing published for this version
-
2.5.131 Dec 2019Nothing published for this version
-
2.5.031 Dec 2019Nothing published for this version
-
2.4.1331 Dec 2019Nothing published for this version
-
2.4.1231 Dec 2019Nothing published for this version
-
2.4.11no dateNothing published for this version
-
2.4.1031 Dec 2019Nothing published for this version
-
2.4.931 Dec 2019Nothing published for this version
-
2.4.8no dateNothing published for this version
-
2.4.731 Dec 2019Nothing published for this version
-
2.4.631 Dec 2019Nothing published for this version
-
2.4.531 Dec 2019Nothing published for this version
-
2.4.431 Dec 2019Nothing published for this version
-
2.4.331 Dec 2019Nothing published for this version
-
2.4.231 Dec 2019Nothing published for this version
-
2.4.131 Dec 2019Nothing published for this version
-
2.4.031 Dec 2019Nothing published for this version
-
2.3.931 Dec 2019Nothing published for this version
-
2.3.831 Dec 2019Nothing published for this version
-
2.3.7no dateNothing published for this version
-
2.3.631 Dec 2019Nothing published for this version
-
2.3.531 Dec 2019Nothing published for this version
-
2.3.431 Dec 2019Nothing published for this version
-
2.3.331 Dec 2019Nothing published for this version
-
2.3.231 Dec 2019Nothing published for this version
-
2.3.1no dateNothing published for this version
-
2.3.031 Dec 2019Nothing published for this version
-
2.2.1031 Dec 2019Nothing published for this version
-
2.2.931 Dec 2019Nothing published for this version
-
2.2.831 Dec 2019Nothing published for this version
-
2.2.731 Dec 2019Nothing published for this version
-
2.2.631 Dec 2019Nothing published for this version
-
2.2.5no dateNothing published for this version
-
2.2.431 Dec 2019Nothing published for this version
-
2.2.331 Dec 2019Nothing published for this version