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(10y ago)07.6k↓11.1%13MITPHPPHP &gt;=5.3.0

Since Dec 15Pushed 10y ago1 watchersCompare

[ Source](https://github.com/tzfrs/curl)[ Packagist](https://packagist.org/packages/tzfrs/curl)[ RSS](/packages/tzfrs-curl/feed)WikiDiscussions master Synced 1mo 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 72% 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

4003d 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

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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