vysokeskoly / cache-bundle
Provides memcached services with proper usage of connection pool
Installs: 5 708
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: ^6.0 || ^7.0
- symfony/dependency-injection: ^6.0 || ^7.0
- symfony/http-kernel: ^6.0 || ^7.0
Requires (Dev)
- ergebnis/composer-normalize: ^2.28
- lmc/coding-standard: ^4.1
- php-mock/php-mock-phpunit: ^2.0
- php-parallel-lint/php-parallel-lint: ^1.3
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^1.12.7
- phpstan/phpstan-phpunit: ^1.1
- phpunit/phpunit: ^10.5.37
- symfony/yaml: ^6.0 || ^7.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.