matthiasmullie/scrapbook
Scrapbook is a PHP caching library that wraps PSR-6/PSR-16 cache backends with adapters, multi-cache fallbacks, buffering and stampede protection. Use it to add fast, resilient caching with minimal code changes across files, memory or Redis stores.
cas in transactional cachesetimplode parameter order for PHP7.4 compliancefalse returned by apcu_fetch$token can be int as well as float$value is considered nullget()exists() to has()counter, which is not typesafecache/taggable-cache now does the sameget result in buffer if it wasn't in there alreadyfalse & no value in cache, where $token should be nullpsr/cachePsr6 methods accepting $key now throw InvalidArgumentExceptionPsr\Cache filesflush return valuemulti/exec consistently return arrayPsr6\Pool::hasItem, per PSR-6 specPsr6\Pool::deleteItem, per PSR-6 specPsr6\Pool::deleteItems returns result instead of static, per PSR-6 specPsr6\Pool::save returns result instead of static, per PSR-6 specPsr6\Pool::saveDeferred returns result instead of static, per PSR-6 specPsr6\Item::exists, per PSR-6 specPsr6\Item::getExpiration, per PSR-6 specleague/flysystem adapterset can be combined into setMulti)set on existing value in MemoryStore, don't doublecount the sizePsr6\Item::expiresAt, per PSR-6 specPsr6\Item::expiresAfter, per PSR-6 spec[@file_get_contents](https://github.com/file_get_contents)Psr6\Item::setExpiration, per PSR-6 specHow can I help you explore Laravel packages today?