Registry / http-client / egeloen-http-adapter

egeloen-http-adapter

JSON →
library1.0.2phppackagistunverified

Issue HTTP request for PHP 5.4.8+.

composer require egeloen/http-adapter
INSTALL
IMPORT
SIG · EGELOEN-HTTP-ADAPT
E
egeloen-http-adapter
http-clientphpv1.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CurlHttpAdapter
use Ivory\HttpAdapter\CurlHttpAdapter;

Send a GET request using cURL.

use Ivory\HttpAdapter\CurlHttpAdapter; $adapter = new CurlHttpAdapter(); $response = $adapter->get('https://api.example.com'); echo $response->getBody();
Debug
Known issues
gotchaPackage is abandoned; use PSR-18 HTTP clients instead.
fix
Migrate to a PSR-18 compatible client like Guzzle or Symfony HttpClient.
affects: *
Upgrade
Version history
1.0.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
24
Resources
egeloen-http-adapter — pip install egeloen-http-adapter · libregistry