Skip to content

treehouselabs/cache-bundle

Repository files navigation

This package is DEPRECATED use a PSR-6 solution like https://github.com/php-cache/cache-bundle

Cache bundle

Latest Version on Packagist Software License Build Status Coverage Status Quality Score

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

Credits