PackageTrack
Sign in Get early access

tedivm/stash

The place to keep your cache.

v1.2.2 5.0M downloads/mo #3534 most downloaded on Packagist tedious/Stash

What this package is like to depend on

Last release 7 months ago

27 Dec 2025

Release timing varies

gaps range from 4 weeks to 1.9 years

Most releases are documented

notes for 22 of 35 stable releases

Nothing withdrawn

no release was ever pulled

14 years old

35 releases · first in 2012

1 release in the last 12 months

see the full history below

Release timeline

34 releases · Mar 2012 to Dec 2025
2013 2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 35
  1. v1.2.2 27 Dec 2025
    Release notes

    What's Changed

    • Update PHP versions in GitHub Actions workflow by @tedivm in #435

    Full Changelog: v1.2.1...v1.2.2

    Open source →
    Release notes

    v1.2.2 Latest

    Latest

    Compare

    Choose a tag to compare

    Open source →
  2. v1.2.1 27 May 2025
    Release notes

    What's Changed

    Full Changelog: v1.2.0...v1.2.1

    Open source →
    Release notes

    v1.2.1

    Compare

    Choose a tag to compare

    Open source →
  3. v1.2.0 08 Feb 2025
    Release notes

    What's Changed

    • RedisTest throws \RedisException, so expect that, not Warning by @DavidGoodwin in #432
    • Fix memcache::set default argument from the deprecated null to false by @DavidGoodwin in #431

    Full Changelog: v1.1.0...v1.2.0

    Open source →
    Release notes

    v1.2.0

    Compare

    Choose a tag to compare

    Open source →
  4. v1.1.0 18 Dec 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v0.18.0...v1.1.0

    Open source →
    Release notes

    v1.1.0

    Compare

    Choose a tag to compare

    Open source →
  5. v1.0.0 30 Jan 2024
    Release notes

    After 18 years of development I think it's safe to say the API for this project is now stable. The biggest thing holding back from a v1 was the introduction of types, which have been added and stabilized to match the upstream types from PSR-6 v3 interfaces without any issues being reported.

    This release is identical to the v0.18 release, so updating should be easy for most teams.

    Open source →
    Release notes

    v1.0.0

    Compare

    Choose a tag to compare

    Open source →
  6. v0.18.0 no date
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v0.17.6...v0.18.0

    Open source →
    Release notes

    v0.18.0: Last Release before v1.0.0

    Compare

    Choose a tag to compare

    Open source →
  7. v0.17.6 26 Jul 2022
    Release notes

    What's Changed

    • Fix deprecation error in memcache driver on php 8.1 by @brutto in #415

    Full Changelog: v0.17.5...v0.17.6

    Open source →
    Release notes

    v0.17.6

    Compare

    Choose a tag to compare

    Open source →
  8. v0.17.5 31 May 2022
    Release notes

    What's Changed

    • implemented Item::extend(), fixed some PHPDoc inconsistencies by @iclukas in #414

    Full Changelog: v0.17.4...v0.17.5

    Open source →
    Release notes

    v0.17.5

    Compare

    Choose a tag to compare

    Open source →
  9. v0.17.4 28 May 2022
    Release notes

    What's Changed

    • Add 'username' auth option to Redis driver by @okiedork in #413

    New Contributors

    Full Changelog: v0.17.3...v0.17.4

    Open source →
    Release notes

    v0.17.4

    Compare

    Choose a tag to compare

    Open source →
  10. v0.17.3 27 May 2022
    Release notes

    What's Changed

    • work around SQLite PDO’s inability to enforce permissions for data files by @iclukas in #411

    Full Changelog: v0.17.2...v0.17.3

    Open source →
    Release notes

    v0.17.3

    Compare

    Choose a tag to compare

    Open source →
  11. v0.17.2 24 May 2022

    Nothing published for this version

  12. v0.17.1 21 Mar 2022

    Nothing published for this version

  13. v0.17.0 21 Feb 2022

    Nothing published for this version

  14. v0.16.0 18 Jan 2021

    Nothing published for this version

  15. v0.15.2 09 Mar 2019

    Nothing published for this version

  16. v0.15.1 19 Feb 2018

    Nothing published for this version

  17. v0.14.2 23 Apr 2017

    Nothing published for this version

  18. v0.14.1 10 Feb 2016
    Release notes
    • Implemented PSR-6 interfaces.

    • Removed Driver::setOptions($options) in favor of Driver::constructor($options)

    • Removed deprecated DriverList::getDrivers function.

    • Removed deprecated invalidation constants in the Item class.

    • Removed SQLite Extension support (SQLite3 is still available).

    • The set function no longer persists data.

    • Removed expiration time for set function

    • Added expiresAt and expiresAfter functions to the Item class.

    • getExpiration to return current datetime when no record exists.

    • Added save function to PoolInterface.

    • Changed getItemIterator to getItems

    • RuntimeException now extends from \RuntimeException

    • Added isHit function to ItemInterface.

    • Added the hasItem function to the Pool, which should mostly be avoided.

    • Renamed Pool::purge to Pool::clear.

    • Added Pool::deleteItem and Pool::deleteItems.

    • Removed legacy methods for defining keys- keys must be defined as strings.

    • Added support for "APCU" functions.

    • Removed sqlite2 support (sqlite3 is still supported).

    Stash v0.13 Changelog

    Open source →
  19. v0.13.2 29 Dec 2015
    Release notes
    • Fixed bug where the default filesystem driver path would be created even when a path was specified.

    • Updated development dependencies.

    • Required PHP7 tests to pass.

    Open source →
  20. v0.13.1 02 Aug 2015
    Release notes
    • Dropped support for PHP 5.3.

    • Updated dependencies.

    • Removed various PHP warnings (exceptions are still thrown where needed).

    • Various optimizations, such as reduced function calls during repeated operations.

    • Added "isPersistent" method to driver classes.

    Stash v0.12 Changelog

    Open source →
  21. v0.12.3 17 Jan 2015
    Release notes
    • Fixed invalidation default value.
    Open source →
  22. v0.12.2 08 Dec 2014
    Release notes
    • Added an alternative format than native PHP for the Filesystem Driver.

    • Improved performance of Filesystem clear operations.

    • Better commenting on files generated by Filesystem driver.

    • Added work around for HHVM APCIterator bug.

    • Improved Redis error handling in the event of a lost or disconnected server.

    • Improved Redis and Memcached persistent connection support.

    • Added support for AWS autodiscovery functionality in Memcached.

    • Refactored PDO and SQLite "isAvailable" functions to prevent notices when the PDO extension is not present.

    • Docblock and commenting improvements.

    • Updated dependency versions (only affects development code).

    API Changes

    • Added a new "encoder" option to the Filesystem driver. This option defaults to previous behavior to maintain backwards compatibility while also offering the ability to change the format of the file used to store cached items.
    Open source →
  23. v0.12.1 31 May 2014
    Release notes
    • Full HHVM Support

    • Removed xcache experimental driver.

    • Removed PEAR Support

    • Internal Improvements- DocBlock, Explicitly Defined Variables, Commenting.

    • Enforcement of code standards in test suite.

    • FileSystem - Improved Storage and Retrieval

    • Memcache - Altered subdrivers constructors and initialization.

    • SQLite - Reduced duplicate code amongst PDO subdrivers.

    • Updated Test Suite to make it simple to run again custom Pool or Item objects other than the build in ones.

    • Redis and Memcache constructors now take both forms (associative array or indexed array) when setting server configuration. Originally Memcache accepted an indexed list of settings while Redis expected an associative array.

    API Changes

    • Removed constructor requirements from DriverInterface and added setOptions to replace it. Please note this means all drivers no longer take their options through the constructor, but expect them through the setOptions method.

    • Replaced "Item->setDriver" with "Item->setPool" function. This should have no effect on typical consumers of this library but may effect those extending the Item or Pool class.

    • Renamed Drivers class to DriversList to prevent confusion when talking about "Drivers".

    • Added DriversList::getAllDrivers which returns an unfiltered list of registered drivers.

    • Added DriversList::getAvailableDrivers to replace the existing DriversList::getDrivers, which is now deprecated.

    • Added "setDriver(DriverInterface $driver)" and "setKey($key, $namespace = null)" functions to the Item Interface. These functions are used by Pool to initialize the Item class.

    • Added "setNamespace($namespace = null)" and "getNamespace()" functions to the Pool class for.

    • Added "getCreation()" and "getExpiration()" functions to the Item class.

    • Added internal function Utilities::checkFileSystemPermissions.

    • Moved Item::SP_* Constants to new Invalidation class and Deprecated the existing Item::SP_* constants.

    • "PRECOMPUTE" is now the default method for dealing with stale data.

    Stash v0.11 Changelog

    Open source →
  24. v0.11.6 30 Mar 2014
    Release notes
    • FileSystem compatibility fix for the new OpCache system in later versions of PHP.
    Open source →
  25. v0.11.5 06 Mar 2014
    Release notes
    • Fixed a bug where OSX would be identified as Windows and path names were limited to that system's length.

    • Fixed a bug in the Pool class where setItemClass would throw an exception.

    Open source →
  26. v0.11.4 20 Dec 2013
    Release notes
    • Introduced HHVM testing capabilities into the test suite.

    • Removed HHVM specific fatal errors.

    Open source →
  27. v0.11.3 19 Dec 2013
    Release notes
    • Fixed potential key collision with Ephemeral driver.
    Open source →
  28. v0.11.2 30 Nov 2013
    Release notes
    • Fixed Bug which prevented some file based caches from purging or flushing on Windows based systems.

    • Fixed Bug in the Filesystem cache which caused a fatal error when certain keys were used.

    Open source →
  29. v0.11.1 18 Nov 2013
    Release notes
    • Logging Support

      The Pool and Item classes can now have PSR-3 compliant Logging libraries injected into them through the setLogger($logger) functions. Any logger injected into the Pool class will get injected into any Items it generates.

    • Pool and Item Interfaces

      The Stash\Pool and Stash\Item classes now implement the new Stash\Interface\Pool and Stash\interface\Item inferaces.

    • Extend Cache renamed and given a ttl

      The Stash\Item::extendCache() function is now Stash\Item::extend($ttl = null).

    • Formatting changes, PSR-1 and PSR-2 compliant.

    • Added "setItemClass" function to the Pool class

      This allows new Item classes to be generated, as long as they following the new interface.

    Open source →
  30. v0.10.5 21 Jun 2013

    Nothing published for this version

  31. v0.10.4 13 Jun 2013

    Nothing published for this version

  32. v0.10.3 30 Mar 2013

    Nothing published for this version

  33. v0.10.2 26 Feb 2013

    Nothing published for this version

  34. v0.10.1 15 Nov 2012

    Nothing published for this version

  35. v0.9.5 09 Mar 2012

    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