PHPackages                             tzfrs/curl - 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. tzfrs/curl

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

tzfrs/curl
==========

A simple object-oriented wrapper of the PHP cURL extension.

1.2(11y ago)07.8k↑12.8%13MITPHPPHP &gt;=5.3.0

Since Dec 15Pushed 11y ago1 watchersCompare

[ Source](https://github.com/tzfrs/curl)[ Packagist](https://packagist.org/packages/tzfrs/curl)[ RSS](/packages/tzfrs-curl/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (4)Used By (3)

Curl
====

[](#curl)

A simple object-oriented wrapper of the PHP cURL extension.

Install
-------

[](#install)

Install via [composer](https://getcomposer.org):

```
{
    "require": {
        "tzfrs/curl": "dev-master"
    }
}
```

Run `composer install`.

Example usage
-------------

[](#example-usage)

#### Perform a simple get request

[](#perform-a-simple-get-request)

```
require 'Curl.php';
$curl = new Curl;
$curl->get('http://tzfrs.de');
```

#### Perform a get request with parameters

[](#perform-a-get-request-with-parameters)

```
$curl = new Curl;
$curl->get('http://tzfrs.de/', array(
    's' => 'searchterm',
));
```

#### Setting some more options.

[](#setting-some-more-options)

```
$curl = new Curl;
$curl->setFollowlocation()
    ->setMaxredirs(15)
    ->get('http://tzfrs.de');
if ($curl->hasError) {
    print $curl->errorNo .': '. $curl->error;
}
else {
    print $curl->response;
}
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community13

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 ~83 days

Total

3

Last Release

4050d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2a58b48752e03b3cc435825ca0ffb233f571762ff4cc58092945ad210339809e?d=identicon)[tzfrs](/maintainers/tzfrs)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/tzfrs-curl/health.svg)

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

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M90](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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