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

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

sientifica/curl
===============

This is a simple cURL library to dispatch HTTP GET, POST, PUT and DELETE request, easily.

08PHP

Since Nov 2Pushed 6y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

curl
====

[](#curl)

This is a simple cURL library to dispatch HTTP GET, POST, PUT and DELETE request for php language projects.

How to use it
-------------

[](#how-to-use-it)

1. Import the library:

```
use Sientifica\Curl

```

2. Instantiate a new Sientifica\\Curl object:

```
$curl = new Sientifica\Curl();

```

3. Make any http (any http verb) request you want:

### For a HTTP GET request:

[](#for-a-http-get-request)

```
$response = $curl->urlGet('https://url-to-get');

```

### For a HTTP POST request:

[](#for-a-http-post-request)

- HTTP POST, no Content-Type defined

```
		$postData = [
		'element1' => 'Value 1',
		'element2' => 'Value 2'
	];

	$response = $curl->urlPost('https://url-to-get',$postData);

```

- HTTP POST, under json format:

```
	$postData = [
		'element1' => 'Value 1',
		'element2' => 'Value 2'
	];

	$headers = [
		'Content-Type: application/json'
	];

	$response = $curl->urlPost('https://url-to-get',$postData,$headers);

```

- HTTP POST, under multipart/form-data (as regular html web forms)

```
	$postData = [
		'element1' => 'Value 1',
		'element2' => 'Value 2'
	];

	$headers = [
		'Content-Type: multipart/form-data'
	];

	$response = $curl->urlPost('https://url-to-get',$postData,$headers);

```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/afb7a7bc5c3ae4d6a901a56ecce2b62ed4c15c74da4d6416ae6cda57dad1781d?d=identicon)[maomuriel](/maintainers/maomuriel)

---

Top Contributors

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

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/sientifica-curl/health.svg)](https://phpackages.com/packages/sientifica-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)
