PHP Classes

File: composer.json

Recommend this page to a friend!
  Classes of Jorge Castro   CacheOne   composer.json   Download  
File: composer.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: CacheOne
Store and retrieve data in groups using Redis
Author: By
Last change: - 2.3.1
* fix: The catalog is always stored as an array, even if the serializer is json-object
- 2.3
* Added method setSerializer() and getSerializer(). By default CacheOne uses PHP for serialization.
With this feature, it is possible to serialize using json or none
- 2.2.2 2020-03-13
* Now the duration of the catalog is always lasting than the duration of the key
* Tested the duration and expiration of the cache.
* phpunit now is part of "require-dev" instead of "require"
- 2.2.1 2020-03-12
* Internal: key names are not store inside the group. The group is store inside the schema
* Internal: The catalog has a duration defined by $cache->catDuration (seconds)
- 2.2 2020-03-12
* wrappers getCache(),setCache(),invalidateCache()
- 2.1 2020-23-12
* Unit test
* get() has a default value $defaultValue
* new method invalidateAll()
- 2.1 2020-23-12
* Unit test
* get() has a default value $defaultValue
* new method invalidateAll()
2.0 2020-03-12
- 1.4.2 2019-07-30 Added select() to select a different database index. It also adds timeout for the constructor
Date: 4 years ago
Size: 764 bytes
 

Contents

Class file image Download
{ "name": "eftec/cacheone", "description": "Cache class in a single Class", "version": "2.3.1", "type": "library", "keywords": [ "redis", "php", "cache" ], "homepage": "https://github.com/EFTEC/CacheOne", "authors": [ { "name": "Jorge Castro Castillo", "homepage": "https://github.com/EFTEC/" } ], "minimum-stability": "beta", "license": "MIT", "require": { "php": "^7.0" }, "require-dev": { "phpunit/phpunit": "^5.7 || ^6.5" }, "suggest": { "ext-apcu": "CacheOneApcu requires it", "ext-redis": "CacheOneRedis requires it", "ext-memcache": "CacheOneMemcached requires it" }, "autoload": { "psr-4": { "eftec\\": "lib/" } } }