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

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

lyoshenka/curl
==============

A better way to cURL

v1.0.6(9y ago)18801MITPHPPHP &gt;=5.6

Since Nov 10Pushed 9y ago1 watchersCompare

[ Source](https://github.com/lyoshenka/curl)[ Packagist](https://packagist.org/packages/lyoshenka/curl)[ RSS](/packages/lyoshenka-curl/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (8)Used By (1)

lyoshenka/curl
==============

[](#lyoshenkacurl)

A simple wrapper around Curl to make it easy to use.

No more `curl_init()`, no more struggling to get response headers, etc.

Two ways to use it
------------------

[](#two-ways-to-use-it)

### The functional way

[](#the-functional-way)

```
echo \lyoshenka\curl::get('http://httpbin.org/user-agent', [], ['headers' => ['User-Agent' => 'nice!']]);
```

### The fluent OO way

[](#the-fluent-oo-way)

```
echo \lyoshenka\curl::init()
  ->setMethod('GET')
  ->setUrl('http://httpbin.org/user-agent')
  ->setHeader('User-Agent', 'also nice!')
  ->send()
  ->getBody();
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

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

Recently: every ~10 days

Total

7

Last Release

3403d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/362784?v=4)[grin](/maintainers/lyoshenka)[@lyoshenka](https://github.com/lyoshenka)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25025.5M80](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.2M6.6k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k20.0k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

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

87930.4k113](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.3M84](/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

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

PHPackages © 2026

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