treehouselabs / cache-bundle
Symfony2 bundle that provides easy setup for caching, including a powerful ORM cache [DEPRECATED]
Installs: 61 910
Dependents: 0
Suggesters: 1
Security: 0
Stars: 0
Watchers: 8
Forks: 1
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.5
- doctrine/doctrine-bundle: ^1.2
- doctrine/orm: ^2.2.3
- symfony/symfony: ^2.6|^3.0
- treehouselabs/cache: ^2.0
Requires (Dev)
- phpunit/phpunit: ^4.1
README
This package is DEPRECATED use a PSR-6 solution like https://github.com/php-cache/cache-bundle
Cache bundle
Symfony bundle for our cache client.
Installation
composer require treehouselabs/cache-bundle:^1.0
Usage
This configuration:
tree_house_cache: clients: default: type: phpredis serializer: json dsn: redis://localhost prefix: "cache:"
creates a tree_house_cache.client.default
service, which resolves to a CacheInterface instance.
Security
If you discover any security related issues, please email dev@treehouse.nl instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.
Acknowledgements
Some concepts and/or implementations are borrowed from SncRedisBundle