Download the PHP package ray/psr-cache-module without Composer
On this page you can find all versions of the php package ray/psr-cache-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ray/psr-cache-module
More information about ray/psr-cache-module
Files in ray/psr-cache-module
Package psr-cache-module
Short Description PSR-6 PSR-16 cache module for Ray.Di
License MIT
Informations about the package psr-cache-module
Ray.PsrCacheModule
This package is the Ray.Di module that performs the PSR-6 / PSR-16 interface binding.
You can use the PSR6 cache interface in two ways: Local and Public.
Local is for caches that do not need to be shared among multiple web servers, and Public is for caches that need to be shared.
PHP8
PHP7.4
Create object graph
`
Installation
composer require ray/psr-cache-module
Module install
PSR-6
Psr6NullModule
This module is for the development.
- Local: Null
- Shared: Null
Psr6ArrayModule
This module is for the development.
- Local: Array
- Shared: Array
Psr6ApcuModule
This module is for a standalone server
- Local: Chain(APC, File)
- Shared: Chain(APC, File)
Psr6RedisModule
This module is for multiple servers.
- Local: Chain(APC, File)
- Shared: Redis
Psr6MemcachedModule
This module is for multiple servers.
- Local: Chain(APC, File)
- Shared: Memcached
See https://www.php.net/manual/en/memcached.addservers.php
PSR-16
If you install Psr16CacheModule, the cache engine installed with Psr6*Module can be used with PSR-16 interface. PSR-16 bindings use PSR-6 bindings.
Common Configuration Module
CacheDirModule
Specifies the cache directory. Optional.
CacheNamespaceModule
Specifies the cache namespace (when multiple applications are placed on a single cache server). Optional.
Technical Note
Redis, Memcached classes and symfony/cache adapters are not serializable, but RedisAdapter and MemcachedAdapter, which inherit from symfony/cache and are provided in this package, are.
All versions of psr-cache-module with dependencies
psr/cache Version ^1.0.1 || ^2.0 || ^3.0
ray/di Version ^2.13.2
symfony/cache Version ^6.0 || ^7.2 || ^8.0
psr/simple-cache Version ^1.0 || ^2.0 || ^3.0
ray/aop Version ^2.10.4