sensiolabs/consul-php-sdk
A thin PHP wrapper around the Consul HTTP API, covering agent, catalog, health, kv, session and txn services. Methods return a ConsulResponse and throw exceptions on 4xx/5xx errors, with handy lock and semaphore helpers for distributed coordination.
This release covers the whole Consul CE HTTP API and modernizes the code base.
ACL, Config, Connect, Coordinate, DiscoveryChain, Event,
Operator, Peering, PreparedQuery, Snapshot and Status servicesAgent, Catalog and Health servicesAgent, Catalog, Health, KV and Session services['tag' => ['v1', 'primary']])dc option on all endpoints not local to the agentCONSUL_HTTP_TOKEN environment variableMultiSemaphore reusing the metadata of a previous resource when acquiring many resourcesSession::create() (and so LockHandler) when called without argumentsAgent::join() and Agent::forceLeave() HTTP method (PUT instead of GET)| Dependency | 5.3 | 5.4 |
|---|---|---|
| PHP | ≥ 8.1 | ≥ 8.2 |
| symfony/http-client | 5.4, 6.4, 7.x, 8.x | 6.4, 7.4, 8.1+ |
| psr/log | 1.x, 2.x, 3.x | 2.x, 3.x |
Full Changelog: https://github.com/FriendsOfPHP/consul-php-sdk/compare/v5.3.0...v5.4.0
Full Changelog: https://github.com/FriendsOfPHP/consul-php-sdk/compare/v5.2.0...v5.3.0
Full Changelog: https://github.com/FriendsOfPHP/consul-php-sdk/compare/v5.1.0...v5.2.0
Full Changelog: https://github.com/FriendsOfPHP/consul-php-sdk/compare/v5.0.0...v5.1.0
This is the first big release under friendsofphp umbrella. There are lot of BC breaks, but they should be easy to fix. From now on, a particular attention will be given to not break the BC and to provide a nice upgrade path.
sensiolabs/consul-php-sdk to friendsofphp/consul-php-sdkSensioLabs\Consul to Consul)Full Changelog: https://github.com/FriendsOfPHP/consul-php-sdk/compare/v4.2.1...v5.0.0
How can I help you explore Laravel packages today?