Registry / networking / sensiolabs-consul-php-sdk

sensiolabs-consul-php-sdk

JSON →
library5.3.0phppackagistunverified

SDK to talk with consul.io API

composer require sensiolabs/consul-php-sdk
INSTALL
IMPORT
SIG · SENSIOLABS-CONSUL-
S
sensiolabs-consul-php-sdk
networkingphpv5.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ServiceFactory
use SensioLabs\Consul\ServiceFactory;

Store and retrieve a key-value pair from Consul.

use SensioLabs\Consul\ServiceFactory; $sf = new ServiceFactory(['base_uri' => 'http://127.0.0.1:8500']); $kv = $sf->get('kv'); $kv->put('test/key', 'value'); echo $kv->get('test/key')->getBody();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
5.3.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
38 hits · last 30 days
node
34
OpenAI (training)
1
Resources
sensiolabs-consul-php-sdk — pip install sensiolabs-consul-php-sdk · libregistry