Releases: dude920228/php-cache
Releases · dude920228/php-cache
Bug fixes
Minor patch
v1.1.1 Deleted auto generated comments from files
Almost complete version
The lib is able to use unix socket files as communication endpoint, so firewalls will not be an issue.
Minor code changes, for better code quality
This release DOES NOT contain new features, nor breaking changes.
This is a patch release only, not affecting the functionality!
v1.0 Release, contains breaking changes
This release contains probable breaking changes!
- Removed
getKeys
functionality andkeys
command - Removed
php-cache.phar
from the repository, addedpharBuilder.php
for manual build
Minor changes
- Cleaned some junk in the code
- Removed file extension of the CLI file
Added Symfony console commands
Added symfony console commands:
get [<key>]
: Gets the entry for the specified key or all entries with keys if no key is specified
delete <key>
: Deletes the entry from the cache pool with the specified key
set <key> <value>
: Adds a new entry to the cache pool or overwrites it if it exists
keys
: Gets the currently existing keys in the cache
Example:
./phpCache.php set test test
./phpCache.php set test1 test1
./phpCache.php get
Will output:
+-------+-------+
| KEY | VALUE |
+-------+-------+
| test | test |
| test1 | test1 |
+-------+-------+
./phpCache.php get test
Will output:
+------+-------+
| KEY | VALUE |
+------+-------+
| test | test |
+------+-------+
./phpCache.php keys
Will output:
+-------+
| KEYS |
+-------+
| test |
| test1 |
+-------+
Added get keys functionality
New feature:
CacheClient::getKeys()
Returns the currently stored keys in the cache pool.
Ready to use on Php >= 5.4
Fixed a small ammount of code to support php < 5.6 by replacing short array definition ([]
) to array()
.