{"repo":"humanmade/wp-redis-predis-client","free":true,"listed":false,"github":"https://github.com/humanmade/wp-redis-predis-client","clone":"git clone https://github.com/humanmade/wp-redis-predis-client.git","description":"An alternative Redis client for use with WP Redis. Enables TLS connections.","language":"PHP","stars":30,"topics":["redis","predis","wp-redis","cache","wordpress"],"license":null,"category":"databases-storage","readme_excerpt":"WP Redis - Predis Client An alternative Redis client for use with WP Redis . Enables TLS connections. A Human Made project. Maintained by @nathanielks. WP Redis - Predis Client This is a package that enables the use of Predis as a Redis Client as opposed to PHPRedis for WP Redis. Predis has the distinct advantage of connecting to Redis via TLS, encrypting traffic in-transit. Requires WP Redis = 0.7.0. Getting Started Requiring Files Composer When using Composer, functions.php file will automatically be loaded whenever you include Composer's autoloader in your project. Manually Requiring The only file needing require once ing for WP Predis to work correctly is functions.php (which is automatically included via vendor/autoload.php , which is generated by Composer). Download this repo somewhere in your project, run composer install , and include vendor/autoload.php somewhere early (such as wp-config.php ): Object Cache stub Now that files have been included, it's recommended you use the included object-cache.php file instead of the one included with WP Redis. It will add the required filters for WP Predis to work and then include WP Redis' object-cache.php file. Once object-cache.php is in wp-content (or whatever content directory you are using), you're good to go! Configuring Predis WP Redis - Predis Client adheres to WP Redis' configuration details. Predis also takes an additional argument, ssl , for configuring TLS connections. See PHP's SSL Context options for more details. ","default_branch":null,"files":null,"tree":[],"storefront":"/r/humanmade","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/humanmade/wp-redis-predis-client/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}