Download the PHP package evaisse/simple-http-bundle without Composer
On this page you can find all versions of the php package evaisse/simple-http-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download evaisse/simple-http-bundle
More information about evaisse/simple-http-bundle
Files in evaisse/simple-http-bundle
Package simple-http-bundle
Short Description A very simple symfony http client bundle built on the httpfoundation component (instead of guzzle), using cURL and cURL multi.
License MIT
Homepage https://github.com/evaisse/SimpleHttpBundle
Informations about the package simple-http-bundle
SimpleHttpBundle
While Still maintained, I recommand you to replace this bundle with the symfony/http-client with has better support and a handy plug-in support.
A Symfony 5.4/6.x HTTP client bundle built on the HttpFoundation component (instead of guzzle), using cURL as engine.
Requirements
- PHP 8.1+
- Symfony 5.4 or 6.x
Quickstart
Get the simple API
Easy routing with replacement syntax (similar to php frameworks like symfony2/laravel)
Development features
The simple http bundle provide you a nice profiler toolbar addition
- Request/Response body & headers details
- Cookies handy panel
- External debug links (to remote profiler using X-Debug-Link header)
- Request timing displayed in the timeline panel
Replay feature
Add this to routing.yml file
_simple_http:
resource: "@SimpleHttpBundle/Controller/"
type: annotation
prefix: /_profiler/simple-http
or
_simple_http:
resource: '@SimpleHttpBundle/Resources/config/routing.yml'
You can now resend an http call directly from the profiler debug panel
Replay requests are now resolved server-side from the profiler storage. The browser only sends the profiler token and request index, not the serialized request payload.
Panels details
![Panels details] (https://raw.githubusercontent.com/evaisse/SimpleHttpBundle/master/Resources/doc/profiler-panels.png)
Toolbar block
![Toolbar block] (https://raw.githubusercontent.com/evaisse/SimpleHttpBundle/master/Resources/doc/profiler-toolbar.png)
Timeline panel
![Timeline panel] (https://raw.githubusercontent.com/evaisse/SimpleHttpBundle/master/Resources/doc/profiler-timeline.png)
Complete API
Complete api using transaction factory
Parrallel execution
JSON services
File upload
Cookies persistance
Promise usage
All versions of simple-http-bundle with dependencies
react/promise Version ^2.2 || ^3.0
twig/twig Version ^3.27
symfony/http-foundation Version ^6.4 || ^7.0
symfony/browser-kit Version ^6.4 || ^7.0
symfony/event-dispatcher Version ^6.4 || ^7.0
symfony/serializer Version ^6.4 || ^7.0
symfony/http-kernel Version ^6.4 || ^7.0
symfony/stopwatch Version ^6.4 || ^7.0
symfony/routing Version ^6.4 || ^7.0
symfony/config Version ^6.4 || ^7.0
symfony/dependency-injection Version ^6.4 || ^7.0
symfony/security-csrf Version ^6.4 || ^7.0
symfony/security-http Version ^6.4 || ^7.0
symfony/twig-bundle Version ^6.4 || ^7.0
symfony/yaml Version ^6.4 || ^7.0
symfony/mime Version ^6.4 || ^7.0
ext-dom Version *
ext-json Version *
ext-curl Version *