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

Httplug Laravel Package

php-http/httplug

HTTPlug provides HTTP client abstraction interfaces for PHP, built on PSR-7 messages. Defines async HttpAsyncClient plus a sync HttpClient similar to PSR-18, enabling libraries to stay client-agnostic while supporting multiple HTTP implementations.

View on GitHub
Deep Wiki
Context7
2.4.1
  • Updated code to not raise warnings for nullable parameters in PHP 8.4.
2.4.0

Changed

  • Allow psr/http-message v2 in addition to v1
  • Deprecate Http\Client\HttpClient, use PSR-18 instead
2.3.0

Changed

  • Enabled the $onRejected callback of HttpRejectedPromise to return a promise for implementing a retry mechanism #168
2.2.0

Changed

  • Support PHP 7.1-8.0
2.1.0

Changed

  • Http\Client\Exception\NetworkException no longer extends Http\Client\Exception\RequestException, in accordance with PSR-18
2.0.0

This version is no BC break for consumers using HTTPlug. However, HTTP clients that implement HTTPlug need to adjust because we add return type declarations.

Added

  • Support for PSR-18 (HTTP client).

Changed

  • BC Break: HttpClient::sendRequest(RequestInterface $request) has a return type annotation. The new signature is HttpClient::sendRequest(RequestInterface $request): ResponseInterface.
  • BC Break: RequestException::getRequest() has a return type annotation. The new signature is RequestException::getRequest(): RequestInterface.

Removed

  • PHP 5 support
1.1.0

Added

  • HttpFulfilledPromise and HttpRejectedPromise which respect the HttpAsyncClient interface
1.0.0

Removed

  • Stability configuration from composer
1.0.0-RC1

Changed

  • Updated package files
  • Updated promise dependency to RC1
1.0.0-beta

Added

  • Puli configuration and binding types

Changed

  • Exception concept
1.0.0-alpha3

Changed

  • Async client does not throw exceptions

Removed

1.0.0-alpha2

Added

  • Async client and Promise interface
1.0.0-alpha

Added

  • Better domain exceptions.

Changed

  • Purpose of the library: general HTTP CLient abstraction.

Removed

  • Request options: they should be configured at construction time.
  • Multiple request sending: should be done asynchronously using Async Client.
  • getName method
0.1.0

Added

  • Initial release
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
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
twbs/bootstrap4