NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #2053 most downloaded on Packagist
Laminas cache adapter for filesystem
Last release 7 months ago
10 Mar 2026
Release timing varies
gaps range from 3 weeks to 1.2 years
Most releases are documented
notes for 10 of 15 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
15 releases · first in 2020
Total pull requests resolved: 2
Feature release (minor)
This release adds support for PHP 8.4.
Feature release (minor)
One column per quarter.
Backwards incompatible release (major)
Backwards incompatible release (major)
laminas-cache-storage-adapter-filesystem 3.0.0 is here and finally adds native types everywhere, adds support for psr/cache and psr/simple-cache v2 & v3, supports laminas/laminas-cache v4 and introduces an all new metadata and persistence logic. The Filesystem does now persist the value as a serialized string along with the expiry date so that cache items can now have dedicated TTLs.
Metadata object for Filesystem#getMetadatapsr/cache and psr/simple-cache v2 & v3 by introducing TTL per-item handlingFilesystem now allows passing a ClockInterface via its constructorunserializable_classes) which can be passed as a Filesystem option as boolean or a non-empty-list<class-string> value. Defaults to true and can be modified according to the unserialize function documentation (value is passed to allowed_classes option of unserialize). This option is only used when there is no Serializer plugin attached to the storage adapterFilesystemInteractionInterface does now provide a new method getFirstLineOfFile to have a performant way to read the cache expiry information without loading the whole file into memoryon-write rather than on-readFilesystem adapter now uses .cache suffix which is not configurable anymore (used to be .dat) as the old .dat files might not be compatible anymore. This will probably introduce problems in projects which rely on existing files which are not generated when these are missing. It is also mandatory that if caches are created cross-project, that both projects use the same adapter version. Please keep this in mind when upgradingFilesystemOptions does now prevent projects from updating the key pattern, the key pattern is fixed and must not changeFilesystemOptions has a modified key pattern and now allows dots (.) in cache keys. This is mandatory to have proper PSR-6 support which requires caches to support A-Z, a-z, 0-9, _, and .Filesystem adapter now stores values as serialized strings within the cache file in case that there is no Serializer plugin attached to the adapterFilesystem::METADATA_ATIME constant, use Metadata#lastAccessTime insteadFilesystem::METADATA_CTIME constant, use Metadata#creationTime insteadFilesystem::METADATA_MTIME constant, use Metadata#lastModifiedTime insteadFilesystem::METADATA_FILESIZE constant, use Metadata#filesize insteadFilesystem::METADATA_FILESPEC constant, use Metadata#filespec insteadFilesystemOptions#setSuffix as the suffix is not configurable anymoreFilesystemOptions#getSuffix as the suffix is not configurable anymoreFilesystemOptions#setTagSuffix as the tag suffix is not configurable anymoreFilesystemOptions#getTagSuffix as the tag suffix is not configurable anymoreFilesystemInteractionInterface#umask as it was not usedFilesystemInteractionInterface#touch as it is not used anymorelaminas-cache-storage-adapter-test v4.1 thanks to @boesingSerializer plugin is used thanks to @boesinglaminas-cache v4 thanks to @boesingTotal pull requests resolved: 1
Feature release (minor)
Total pull requests resolved: 2
2.4.x bugfix release (patch)
Total pull requests resolved: 2
Feature release (minor)
Total pull requests resolved: 1
Feature release (minor)
Total pull requests resolved: 1
Feature release (minor)
Total pull requests resolved: 6
Feature release (minor)
Total pull requests resolved: 2
2.0.x bugfix release (patch)
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →