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 today

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

Maturity35

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

[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)
