PHPackages                             curlphp/httpcurl - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. curlphp/httpcurl

ActiveLibrary[HTTP &amp; Networking](/categories/http)

curlphp/httpcurl
================

PHP cURL library for server side request.

1.0.2(10y ago)0149MITPHPPHP &gt;=5.4.0

Since Apr 9Pushed 10y ago1 watchersCompare

[ Source](https://github.com/atishamte/curlphp)[ Packagist](https://packagist.org/packages/curlphp/httpcurl)[ Docs](https://github.com/atishamte)[ RSS](/packages/curlphp-httpcurl/feed)WikiDiscussions master Synced today

READMEChangelog (3)DependenciesVersions (4)Used By (0)

cURL-PHP
========

[](#curl-php)

cURL-PHP is a PHP library which makes it easy to do simple cURL requests and makes more complicated cURL requests easier too.

Requirements
------------

[](#requirements)

1. PHP 5.4+
2. PHP 5 (configured with cURL enabled)
3. libcurl

Features
--------

[](#features)

- POST/GET/PATHCH/PUT/DELETE requests over HTTP
- HTTP Authentication
- Follows redirects
- Returns error string
- Provides debug information
- Proxy support
- Cookies

API calls
---------

[](#api-calls)

These do it all in one line of code to make life easy. They return the body of the page, or FALSE on fail.

##### Hierachy of API object method calling may affect the functionality part.

[](#hierachy-of-api-object-method-calling-may-affect-the-functionality-part)

These methods allow you to build a more complex request.

```
// import file
require 'curlphp/curlphp.php'

// Create an object
$curl = new curlphp();

// Option
$curl->setOption(CURLOPT_BUFFERSIZE, 10);
$curl->setOption(array(CURLOPT_BUFFERSIZE => 10));

// More human looking options
$curl->setOption('buffersize', 10);

// Headers
$curl->http_header('Content-Type','application/json');
$curl->http_header('Content-Length',300);

// SSL Option
$curl->setSSL(false);

// Login to HTTP user authentication
$curl->http_login('username', 'password');

// Cookies - If you do not use post, it will just run a GET request
$vars = array('foo'=>'bar');
$curl->set_cookies($vars);

// Proxy - Request the page through a proxy server
// Port is optional, defaults to 80
$curl->proxy('http://example.com', 1080);
$curl->proxy('http://example.com');

// Proxy login
$curl->proxy_login('username', 'password');

// Execute - returns responce
echo $curl->executeCurl();

// Debug data ------------------------------------------------
$curl->debug();

// Errors
$curl->error_code; // int
$curl->error_string;

// Information
$curl->info; // array

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

3734d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/619343688591e8c5cb216543e9ca0edc98b5b25165eb8266e401e8c0a8537790?d=identicon)[atishamte](/maintainers/atishamte)

---

Top Contributors

[![atishhamte](https://avatars.githubusercontent.com/u/8375139?v=4)](https://github.com/atishhamte "atishhamte (4 commits)")

---

Tags

curlphp-curlPhpcurlcurlphp

### Embed Badge

![Health badge](/badges/curlphp-httpcurl/health.svg)

```
[![Health](https://phpackages.com/badges/curlphp-httpcurl/health.svg)](https://phpackages.com/packages/curlphp-httpcurl)
```

###  Alternatives

[rmccue/requests

A HTTP library written in PHP, for human beings.

3.6k36.3M275](/packages/rmccue-requests)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48348.5M435](/packages/php-http-curl-client)[smi2/phpclickhouse

PHP ClickHouse Client

84711.1M80](/packages/smi2-phpclickhouse)[zounar/php-proxy

Forward your HTTP/HTTPS requests to another server.

1834.3k](/packages/zounar-php-proxy)[athlon1600/php-curl-client

Simple PHP cURL Client

13116.2k3](/packages/athlon1600-php-curl-client)[anchovy/curl-bundle

This bundle provides a simple OOP interfaces for cURL php wrapper.

1115.2k1](/packages/anchovy-curl-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
