Download the PHP package samuelnogueira/cache-datastore-newrelic without Composer
On this page you can find all versions of the php package samuelnogueira/cache-datastore-newrelic. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package cache-datastore-newrelic
cache-datastore-newrelic
Report calls to any psr/simple-cache
or psr/cache
implementation as a custom New Relic Datastore.
Uses the newrelic_record_datastore_segment function to record calls to an unsupported database.
Requirements
Requires New Relic PHP Agent version >= 7.5.0.
Usage
Decorate your existing:
\Psr\Cache\CacheItemPoolInterface
\Psr\SimpleCache\CacheInterface
with respectively:
\Samuelnogueira\CacheDatastoreNewrelic\CacheItemPoolDecorator
\Samuelnogueira\CacheDatastoreNewrelic\SimpleCacheDecorator
Example with PSR-6: Caching Interface:
Example with PSR-16: Common Interface for Caching Libraries (aka Simple Cache):
All versions of cache-datastore-newrelic with dependencies
PHP Build Version
Package Version
Requires
php Version
~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0
ext-newrelic Version >=7.5.0
psr/simple-cache Version ^3.0
psr/cache Version ^3.0
ext-newrelic Version >=7.5.0
psr/simple-cache Version ^3.0
psr/cache Version ^3.0
The package samuelnogueira/cache-datastore-newrelic contains the following files
Loading the files please wait ....