Registry / http-client / php-curl-class-php-curl-class

php-curl-class-php-curl-class

JSON →
library13.0.0phppackagistunverified

PHP Curl Class makes it easy to send HTTP requests and integrate with web APIs.

composer require php-curl-class/php-curl-class
INSTALL
IMPORT
SIG · PHP-CURL-CLASS-PHP
P
php-curl-class-php-curl-class
http-clientphpv13.0.0
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.

Curl
use Curl\Curl;

Send a GET request and handle errors.

use Curl\Curl; $curl = new Curl(); $curl->get('https://api.example.com/data'); if ($curl->error) { echo 'Error: ' . $curl->errorCode . ': ' . $curl->errorMessage; } else { echo 'Response: ' . $curl->response; }
Debug
Known issues
breakingVersion 13.0.0 introduced breaking changes in method signatures.
fix
Review the upgrade guide and update your code accordingly.
affects: >=13.0.0
Upgrade
Version history
13.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
OpenAI (training)
1
Resources
php-curl-class-php-curl-class — pip install php-curl-class-php-curl-class · libregistry