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

Client Common Laravel Package

php-http/client-common

Common utilities for HTTPlug HTTP clients: a BatchClient for parallel requests, a convenience client exposing HTTP verbs as methods, and emulator/decorator layers for sync and async clients. Designed to simplify client composition and tooling.

View on GitHub
Deep Wiki
Context7
2.7.3
  • Allow installation with Symfony 8.
  • Run tests with PHP 8.5.
2.7.2
  • Updated code to not raise warnings for nullable parameters in PHP 8.4.
  • Cleaned up PHPDoc comments.
2.7.1
  • Allow installation with Symfony 7.
2.7.0
  • Dropped php-http/message-factory from composer requirements as it is abandoned and this package does not actually use it.
2.6.1
  • Allow installation with http-message (PSR-7) version 2 in addition to version 1.
  • Support for PHP 8.2
2.6.0
  • [RedirectPlugin] Redirection of non GET/HEAD requests with a body now removes the body on follow-up requests, if the HTTP method changes. To do this, the plugin needs to find a PSR-7 stream implementation. If none is found, you can explicitly pass a PSR-17 StreamFactoryInterface in the stream_factory option. To keep sending the body in all cases, set the stream_factory option to null explicitly.
2.5.1
  • [RedirectPlugin] Fixed handling of redirection to different domain with default port
  • [RedirectPlugin] Fixed false positive circular detection in RedirectPlugin in cases when target location does not contain path
2.5.0

Added

  • Support for Symfony 6
  • Support for PHP 8.1

Changed

  • Dropped support for Symfony 2 and 3 - please keep using version 2.4.0 of this library if you can't update Symfony.
1.11.0
  • Backported from version 2: AddPathPlugin: Do not add the prefix if the URL already has the same prefix.
2.4.0

Added

  • strict option to RedirectPlugin to allow preserving the request method on redirections with status 300, 301 and 302.
2.3.0

Fixed

  • HttpMethodsClient with PSR RequestFactory
  • Bug in the cookie plugin with empty cookies
  • Bug when parsing null-valued date headers

Changed

  • Deprecation when constructing a HttpMethodsClient with PSR RequestFactory but without a StreamFactory
2.2.1

Fixed

  • Support for PHP 8
  • Plugin callable phpdoc
2.2.0

Added

  • Plugin client builder for making a PluginClient
  • Support for the PSR-17 request factory in HttpMethodsClient

Changed

  • Restored support for symfony/options-resolver: ^2.6
  • Consistent implementation of union type checking

Fixed

  • Memory leak when using the PluginClient with plugins
2.1.0

Added

  • Support Symfony 5
1.10.0

Added

  • Support for Symfony 5
2.0.0

See change log for changes.

1.9.1

See change log for changes.

1.9.0

See change log for changes.

1.8.2

Changed

  • When multiple cookies exist, a single header with all cookies is sent as per RFC 6265 Section 5.4
  • AddPathPlugin will now trim of ending slashes in paths
1.8.1

See change log for changes.

1.8.0

See change log for changes.

1.7.0

Support for Symfony 4

v1.6.0

Added

  • Add HttpClientPool client to leverage load balancing and fallback mechanism see the documentation for more details.
  • PluginClientFactory to create PluginClient instances.
  • Added new option 'delay' for RetryPlugin.
  • Added new option 'decider' for RetryPlugin.
  • Supports more cookie date formats in the Cookie Plugin

Changed

  • The RetryPlugin does now wait between retries. To disable/change this feature you must write something like:
$plugin = new RetryPlugin(['delay' => function(RequestInterface $request, Exception $e, $retries) { 
  return 0; 
}); 

Deprecated

  • The debug_plugins option for PluginClient is deprecated and will be removed in 2.0. Use the decorator design pattern instead like in ProfilePlugin.
1.5.0

Added QueryDefaultsPlugin

v1.4.2

DecoderPlugin compression fixes

v1.4.1

Cast return value of StreamInterface::getSize to string in ContentLengthPlugin

v1.4.0
1.3.0

See change log for changes.

v1.2.1
v1.2.0
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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport