vysokeskoly / cache-bundle
Provides memcached services with proper usage of connection pool
Installs: 4 562
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^8.1
- ext-memcached: *
- symfony/config: ^5.0 || ^6.0
- symfony/dependency-injection: ^5.0 || ^6.0
- symfony/http-kernel: ^5.0 || ^6.0
Requires (Dev)
- lmc/coding-standard: ^3.3
- php-mock/php-mock-phpunit: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^1.7
- phpstan/phpstan-phpunit: ^1.1
- phpunit/phpunit: ^9.5
- symfony/yaml: ^5.0 || ^6.0
README
Changelog
See CHANGELOG.md
Installation
Step 1
Download using composer.
"require": {
"vysokeskoly/cache-bundle": "^5.1.0"
},
Step 2
Add CacheBundle to the list of loaded bundles. Configure required parameters for bundle.
config.yml
vysoke_skoly_cache:
connections:
data:
persistent_id: vs
servers:
default:
host: memc
port: 11211
session:
persistent_id: vs_session
servers:
default:
host: memc
port: 11311
Step3
Use created services. From example above vysokeskoly.cache.data and vysokeskoly.cache.session.