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

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

flextype-components/curl
========================

The Curl Component contains methods that makes it easy to send HTTP requests and integrate with web APIs.

00PHP

Since Apr 23Pushed 8y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Curl Component
==============

[](#curl-component)

[![version](https://camo.githubusercontent.com/baafa318a1eeddf605532c6e3a264ec6fa7cf790c87e6b1650e577257a19b2aa/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e302e302d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265 "Version")](https://camo.githubusercontent.com/baafa318a1eeddf605532c6e3a264ec6fa7cf790c87e6b1650e577257a19b2aa/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e302e302d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)[![MIT License](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/flextype-components/curl/blob/master/LICENSE)

The Curl Component contains methods that makes it easy to send HTTP requests and integrate with web APIs

### Installation

[](#installation)

```
composer require flextype-components/curl

```

### Usage

[](#usage)

```
use Flextype\Component\Curl\Curl;
```

Performs a curl GET request.

```
$res = Curl::get('http://site.com/');
```

Performs a curl POST request.

```
$res = Curl::post('http://site.com/login');
```

Gets information about the last transfer.

```
$res = Curl::getInfo();
```

License
-------

[](#license)

See [LICENSE](https://github.com/flextype-components/curl/blob/master/LICENSE)

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/477114?v=4)[Sergey Romanenko](/maintainers/Awilum)[@Awilum](https://github.com/Awilum)

---

Top Contributors

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

---

Tags

componentcurlcurl-componentcurl-libraryflextypeflextype-componentphp

### Embed Badge

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

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