Download the PHP package launchdarkly/server-sdk-redis-predis without Composer

On this page you can find all versions of the php package launchdarkly/server-sdk-redis-predis. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package server-sdk-redis-predis

LaunchDarkly Server-Side SDK for PHP - Redis integration with predis

Run CI Packagist Documentation

This library provides a Redis-backed data source for the LaunchDarkly PHP SDK, replacing the default behavior of querying the LaunchDarkly service endpoints. The underlying Redis client implementation is the Predis package. If you want to use the phpredis extension instead, see https://github.com/launchdarkly/php-server-sdk-redis-phpredis.

The minimum version of the LaunchDarkly PHP SDK for use with this library is 4.0.0. In earlier versions of the SDK, the Redis integrations were bundled in the main SDK package.

The minimum PHP version is 7.3.

For more information, see our SDK documentation.

Quick setup

This assumes that you have already installed the LaunchDarkly PHP SDK in your project.

  1. Install this package with composer:

If your project does not already have a dependency on Predis (predis/predis), Predis will be loaded automatically as a dependency of launchdarkly/server-sdk-redis-predis.

  1. In your SDK configuration code, configure the Redis integration:

By default, the store will try to connect to a local Redis instance on port 6379. You may specify an alternate configuration as described in the API documentation for Redis::featureRequester. Make sure the prefix option corresponds to the key prefix that is being used by the Relay Proxy.

About LaunchDarkly


All versions of server-sdk-redis-predis with dependencies

PHP Build Version
Package Version
Requires php Version >=7.3
predis/predis Version >=1.0.0 <3.0.0
launchdarkly/server-sdk Version >=4.0.0 <7.0.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package launchdarkly/server-sdk-redis-predis contains the following files

Loading the files please wait ....