Download the PHP package launchdarkly/server-sdk-consul without Composer

On this page you can find all versions of the php package launchdarkly/server-sdk-consul. 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-consul

LaunchDarkly Server-Side SDK for PHP - Consul integration

Run CI Packagist Documentation

This library provides a Consul-backed data source for the LaunchDarkly PHP SDK, replacing the default behavior of querying the LaunchDarkly service endpoints. The underlying Consul client implementation is the friendsofphp/consul-php-sdk package.

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

This version of the package uses version 5.x of the consul-php-sdk client. If your application needs to use an earlier version of consul-php-sdk, use launchdarkly/server-sdk-consul 1.x (for version 2.x of consul-php-sdk) or launchdarkly/server-sdk-consul 2.x (for version 4.x of consul-php-sdk).

The minimum PHP version is 7.4.

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 friendsofphp/consul-php-sdk, that package will be loaded automatically as a dependency of launchdarkly/server-sdk-consul.

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

By default, the store will try to connect to a local Consul instance on port 8500. You may specify an alternate configuration as described in the API documentation for Consul::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-consul with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
friendsofphp/consul-php-sdk Version ^5
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-consul contains the following files

Loading the files please wait ....