dcarbone/php-consul-api
PHP client for the Consul HTTP API. Built for Composer and modeled after HashiCorp’s Go client, with version compatibility guidance and flexible configuration (defaults from Consul env vars or custom config with Guzzle, address, scheme, datacenter, auth, tokens).
For Executives: "This PHP package now includes recent bug fixes (e.g., null handling in v2.0.2), making it even more reliable for leveraging Consul—our existing service mesh and discovery tool—for dynamic scaling and resilience. It’s like adding GPS to our microservices: real-time routing, failover, and config management, all with minimal dev overhead and reduced risk of runtime errors. Given our PHP stack and Consul investment, this is a low-risk way to accelerate feature delivery (e.g., multi-region deploys) and reduce toil. Maintenance is handled by an active community, with recent updates in 2026, including contributions from new developers."
For Engineering:
*"The dcarbone/php-consul-api package (v2.0.2) now includes critical fixes (e.g., implicit null handling in PR #52), making it even safer for production use. It gives us a type-safe, feature-rich PHP client for Consul’s API, with built-in support for:
For Architects: *"This package aligns with our Consul-centric observability strategy by providing:
How can I help you explore Laravel packages today?