kachit/config-consul

Consul adapter

1.2 2018-06-05 15:15 UTC

This package is not auto-updated.

Last update: 2024-04-19 20:04:26 UTC


README

License Build Status Latest Stable Version Total Downloads

Config consul adapter

<?php
$sf = new SensioLabs\Consul\ServiceFactory(['base_uri' => 'http://consul.service.local']);
$kv = $sf->get('kv');

$reader = new Kachit\Config\Consul\Reader($kv);
$data = $reader->read('foo/bar/qwerty');