Download the PHP package swisnl/laravel-psr-http-client-bridge without Composer
On this page you can find all versions of the php package swisnl/laravel-psr-http-client-bridge. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download swisnl/laravel-psr-http-client-bridge
More information about swisnl/laravel-psr-http-client-bridge
Files in swisnl/laravel-psr-http-client-bridge
Package laravel-psr-http-client-bridge
Short Description Laravel PSR-18 HTTP Client Bridge
License MIT
Homepage https://github.com/swisnl/laravel-psr-http-client-bridge
Informations about the package laravel-psr-http-client-bridge
Laravel PSR-18 HTTP Client Bridge
Provides a bridge to use the Laravel HTTP Client as PSR-18 (or Guzzle) HTTP Client, for usage with libraries that require such a Client. This allows you to:
- 🤖 Use request fakes and assertions in your tests
- 🔍 Debug requests in tools like Telescope or Pulse
- 🐛 See requests in error trackers such as Flare or Sentry
- 🚀 Etc.
Install
Via Composer
Usage
Simply instantiate the Swis\Laravel\Bridge\PsrHttpClient\Client
and use it as you would use any other PSR-18 or Guzzle HTTP client.
If you want to configure some request options, you can provide a callable that returns a PendingRequest
.
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
Contributing
Please see CODE_OF_CONDUCT for details.
Security
Please review our security policy on how to report security vulnerabilities.
Credits
- Jasper Zonneveld
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
This package is Treeware. If you use it in production, then we ask that you buy the world a tree to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.
SWIS :heart: Open Source
SWIS is a web agency from Leiden, the Netherlands. We love working with open source software.
All versions of laravel-psr-http-client-bridge with dependencies
guzzlehttp/guzzle Version ^7.4
illuminate/contracts Version ^10.0|^11.0
psr/http-client Version ^1.0