PackageTrack
Sign in Get early access

cache/filesystem-adapter

A PSR-6 cache implementation using filesystem. This implementation supports tags

3.0.0 6.2M downloads/mo #2939 most downloaded on Packagist php-cache/filesystem-adapter

What this package is like to depend on

Last release 4 days ago

20 Aug 2026

Ships unpredictably

gaps range from 2 weeks to 4.6 years

Most releases are documented

notes for 14 of 17 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

17 releases · first in 2016

6 releases in the last 12 months

see the full history below

Release timeline

17 releases · Jan 2016 to Aug 2026
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 17
  1. 3.0.0 20 Aug 2026
    Release notes

    See the change log for changes.

    Open source →
    Release notes

    Changed

    • Expose getFilePath() as a protected extension point for custom file layouts.
    • Hash keys into 256 shard directories to avoid platform-specific filenames and large flat directories.
    • Clear cache files recursively so custom layouts can use nested directories.
    • Require cache/adapter-common 3.
    • Store tag generations in item payloads and separate marker files. Clear the cache directory before upgrading or rolling back.
    Open source →
  2. 2.0.4 19 Aug 2026
    Release notes

    Full Changelog: 2.0.3...2.0.4

    Open source →
    Release notes

    Fixed

    • Treat serialized items and tag indexes that reference unavailable PHP classes as cache misses.
    • Allow installing with psr/simple-cache 2 or 3.
    Open source →
  3. 2.0.3 19 Aug 2026
    Release notes

    Reject unsupported filename keys from getItem() and map the PSR-required dot keys to portable internal filenames.

    Open source →
    Release notes

    Fixed

    • Validate filesystem key constraints in getItem() and safely store the PSR-required . and .. keys.
    Open source →
  4. 2.0.2 18 Aug 2026
    Release notes

    style: enforce symfony 2025 rules

    Open source →
  5. 2.0.1 18 Aug 2026
    Release notes

    keep Symfony-style test signatures and prevent the fixer from
    restoring native void declarations.

    Open source →
  6. 2.0.0 18 Aug 2026
    Release notes

    declare standalone test dependencies and use a traversable Flysystem fixture.

    Open source →
    Release notes

    Added

    • Add accessors for the Flysystem instance and cache directory.

    Changed

    • Require PHP 8.2 or later.
    • Support Flysystem 2 and 3 through FilesystemOperator.
    • Require psr/cache 3 and psr/simple-cache 3.
    • Add native parameter and return types required by the PSR interfaces.
    • Normalize leading and trailing slashes in setFolder().

    Fixed

    • Reject folder values that resolve to the Flysystem root or traverse through a parent directory.
    Open source →
  7. 1.2.0 15 Jan 2022
    Release notes

    See change log for changes.

    Open source →
    Release notes
    • Support for PHP 8.1
    • Drop support for PHP < 7.4
    • Allow psr/cache: ^1.0 || ^2.0
    Open source →
  8. 1.1.0 14 Dec 2020
    Release notes

    See change log for changes.

    Open source →
    Release notes

    Added

    • Support for PHP 8

    Changed

    • Use League\Flysystem\FilesystemInterface instead of concrete League\Flysystem\Filesystem class
    Open source →
  9. 1.0.0 16 Jul 2017
    Release notes

    See change log for changes.

    Open source →
    Release notes
    • No changes since 0.4.0
    Open source →
  10. 0.4.0 13 Mar 2017
    Release notes

    See change log for changes.

    Open source →
    Release notes

    Added

    • Support for the new TaggableCacheItemPoolInterface.
    • Support for PSR-16 SimpleCache

    Changed

    • The behavior of CacheItem::getTags() has changed. It does not return tags stored in the cache storage.

    Removed

    • CacheItem::getExpirationDate(). Use CacheItem::getExpirationTimestamp()
    • CacheItem::getTags(). Use CacheItem::getPreviousTags()
    • CacheItem::addTag(). Use CacheItem::setTags()
    Open source →
  11. 0.3.3 25 Dec 2016
    Release notes

    Fixed

    • Race condition in fetchObjectFromCache.
    Open source →
  12. 0.3.2 19 Oct 2016
    Release notes

    Changed

    • Using Filesystem::update instead of Filesystem::delete and Filesystem::write.
    Open source →
  13. 0.3.1 07 Aug 2016
    Release notes

    Added

    • Add ability to change cache path in FilesystemCachePool
    Open source →
  14. 0.3.0 25 Feb 2016
    Release notes
    • No changelog before this version
    Open source →
  15. 0.2.1 24 Jan 2016

    Nothing published for this version

  16. 0.2.0 20 Jan 2016

    Nothing published for this version

  17. 0.1.0 06 Jan 2016

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive