Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Php Consul Api Laravel Package

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).

View on GitHub
Deep Wiki
Context7
v3.0.0

What's Changed

Full Changelog: https://github.com/dcarbone/php-consul-api/compare/v2.0.2...v3.0.0

v3.0.0-rc1
v2.0.2

What's Changed

New Contributors

Full Changelog: https://github.com/dcarbone/php-consul-api/compare/v2.0.1...v2.0.2

v2.0.1

What's Changed

Full Changelog: https://github.com/dcarbone/php-consul-api/compare/v2.0.0...v2.0.1

v1.1.7

What's Changed

New Contributors

Full Changelog: https://github.com/dcarbone/php-consul-api/compare/v1.1.6...v1.1.7

v1.1.6

What's Changed

New Contributors

Full Changelog: https://github.com/dcarbone/php-consul-api/compare/v1.1.5...v1.1.6

v1.1.5

What's Changed

Full Changelog: https://github.com/dcarbone/php-consul-api/compare/v1.1.4...v1.1.5

v1.1.4

What's Changed

New Contributors

Full Changelog: https://github.com/dcarbone/php-consul-api/compare/v1.1.3...v1.1.4

v1.0.5

This release includes the following:

  • Updating guzzlehttp/psr7 from ~1 to ~2
  • Updating test suite to allow for more centralized test config creation
v1.0.4

Addresses #22. I doubt this impacts very many / any users, but mutating responses in this way was a bad idea either way.

v1.0.3

Addressing a few PHP 7.4 uninitialized class var issues.

v1.0.2

Improved serialization and fixes to catalog package and tests.

v1.0.0

This release is comprised of over a year of off-and-on work.

The primary highlights are:

  1. This library now requires php 7.4+ to take advantage of object property type-hinting
  2. All methods now return an object rather than an array
    • This object implements \ArrayAccess, so you may still use either list() or [] to expand the response.
  3. Vastly slimmed down per-method complexity, making future maintenance and feature addition much easier
  4. Providing support for where-appropriate json:"omitempty and json:"-" functionality on models
  5. Added many new types to various packages, and many new constants to the Consul type
  6. Added php-cs-fixer to take the place of the old Definition tests, which were prohibitively tedious to maintain

There are almost assuredly bugs in this release. The usage tests I had before run, but they are not yet comprehensive. I will add more as I get time, and as always welcome input from people who'd like to chip in :)

0.6.4

Addresses #19

0.6.3

Fixing KVClient::acquire and release methods to properly pass KV value along with requests.

0.6.2.1

Addressing #15, KVClient::cas will now properly update the kv value, rather than nil'ing it out.

0.6.2

This release addresses #15:

  • Values class now implements \Iterator and \ArrayAccess
  • KVClient::cas and KVClient::deleteCAS now properly check response bool
  • phpunit has been merged into single file and contents have been cleaned up.
0.6.1.1

This release contains zero functionality changes. Its aim is to reduce the exported package size by removing items contained in the .gitattributes file.

0.6.1
0.5.2

Addresses bug present in PreparedQueryClient, addressed by PR #11

0.5.1

Adds support for the following Consul environment variables:

  • CONSUL_CACERT
  • CONSUL_CLIENT_CERT
  • CONSUL_CLIENT_KEY

Client is only created by constructor if not set by config array

0.5.0

Just use guzzle directly. Easier, and actually allows support of all env vars.

0.4.5
0.4.4.1

Minor release that corrects some PHPDoc tags.

0.4.4
0.4.3

Fixes KVPair value decoded

0.4.2
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky