[V5˖] The phpFastCache API version - PHPSocialNetwork/phpfastcache GitHub Wiki
As of the V5, phpFastCache comes with a basic API informer in order to give you the last changelog and API version:
<?php
namespace MyCustom\Project;
use phpFastCache\Api;
$apiVersion = Api::getApiVersion();//Return a semantic versioning as per http://semver.org/
$apiChangelog = Api::getChangelog();// Return a string-formatted changelog
The changelog and version will be updated for every patch/minor/major changes to the API. The API concerns the changes related to:
- CacheManager
- ExtendedCacheItemPoolInterface
- ExtendedCacheItemInterface