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

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

efremovp/simple-curl
====================

Simple cURL client.

1.0(5y ago)033MITPHPPHP &gt;=5.4.0

Since Sep 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/efremovP/simple-curl)[ Packagist](https://packagist.org/packages/efremovp/simple-curl)[ Docs](https://github.com/efremovP/simple-curl)[ RSS](/packages/efremovp-simple-curl/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Simple cURL client
==================

[](#simple-curl-client)

The simple cURL client use the cURL PHP extension

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist efremovp/simple-curl "*"

```

or add

```
"efremovp/simple-curl": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
use efremovP\curl\Curl;

//example send POST request with empty headers
$url = 'https://api.example.com/login/';

$params = [
    'api_key' => 'sfq324fszdfasdf',
    'username' => 'test',
    'password' => 'sekret'
];
$result = Curl::send($url, [], $params);

//example send POST request with header
$url = 'https://api.example.com/login/'

$header = ['Authorization: Bearer sfq324fszdfasdf123456'];

$params = [
    'api_key' => 'sfq324fszdfasdf',
    'email' => 'example@example.com'
];

$result = Curl::send($url, $header, $params);

//example send GET request
$url = 'https://api.example.com/get/'

$result = Curl::send($url, [], null, 'get');
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2066d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3abe790ae29288a9ced1ade9fd9b3848a05231c8ebeb1eb584344a488788d5c0?d=identicon)[pyt\_on](/maintainers/pyt_on)

---

Top Contributors

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

---

Tags

phpcurllibrarySimple

### Embed Badge

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

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

###  Alternatives

[stefangabos/zebra_curl

A high performance solution for making multiple HTTP requests concurrently, asynchronously from your PHP projects using cURL

21971.3k2](/packages/stefangabos-zebra-curl)[ismaeltoe/osms

PHP library wrapper of the Orange SMS API.

4540.0k](/packages/ismaeltoe-osms)

PHPackages © 2026

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