PHPackages                             osadchyi-s/incoming-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. osadchyi-s/incoming-curl

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

osadchyi-s/incoming-curl
========================

Make curl command line from incoming request

0.1.0(9y ago)010GPL3PHPPHP &gt;=5.6

Since Oct 30Pushed 9y agoCompare

[ Source](https://github.com/osadchyi-s/incoming-curl)[ Packagist](https://packagist.org/packages/osadchyi-s/incoming-curl)[ Docs](https://github.com/osadchyi-s/incoming-curl)[ RSS](/packages/osadchyi-s-incoming-curl/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

Incoming Curl
=============

[](#incoming-curl)

[![Latest Version](https://camo.githubusercontent.com/f5840b1a7e6cf81ce84e8baad569e537749f4080957af4a439e0fca9242d15f2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7468657068706c65616775652f736b656c65746f6e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/osadchyi-s/incoming-curl/releases)[![Total Downloads](https://camo.githubusercontent.com/edbfd91d13274721ee569e30d83e249acfb5e7aa49077708b5c8349b15d0487c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c65616775652f736b656c65746f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/osadchyi-s/incoming-curl)

This package for creating curl command line from incoming request data.

Install
-------

[](#install)

Via Composer

```
$ composer require osadchyi-s/incoming-curl
```

Usage
-----

[](#usage)

Make current incoming curl from global data

```
$curlLine = IncomingCurl::makeCurlFromGlobals();
```

Make curl from custom data

```
$IC = new IncomingCurl();
$IC->setUrl('http://example');
$IC->setBody(json_encode(['test'=>1]));
$IC->setHeaders([
    [
        'Content-Type'=> ['appliation/json']
    ]
]);
$IC->setMethod('GET');

$curlLine = $IC->makeCurlCommandLine();
```

Credits
-------

[](#credits)

- [Osadchyi Serhii](https://github.com/osadchyi-s)
- [All Contributors](https://github.com/osadchyi-s/incoming-curl/contributors)

License
-------

[](#license)

The GPL3 License. Please see [License File](LICENSE.md) for more information.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

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

3530d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ef5a37e47044cb705dcfac2bfe3dfded5444712812d0a3679f98b7f8f62526eb?d=identicon)[osadchyi.s](/maintainers/osadchyi.s)

---

Top Contributors

[![osadchyi-s](https://avatars.githubusercontent.com/u/5730879?v=4)](https://github.com/osadchyi-s "osadchyi-s (3 commits)")

---

Tags

curlpackagerequestcurl

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/osadchyi-s-incoming-curl/health.svg)

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

###  Alternatives

[aplus/http-client

Aplus Framework HTTP Client Library

2171.6M1](/packages/aplus-http-client)[pear/http_request2

Provides an easy way to perform HTTP requests.

764.3M53](/packages/pear-http-request2)[stefangabos/zebra_curl

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

21472.0k2](/packages/stefangabos-zebra-curl)[multirequest/multirequest

PHP library for easy and flexible multithread requests handling by CURL.

8331.8k1](/packages/multirequest-multirequest)[pdeans/http

PSR-7 cURL HTTP client with support for PSR-17 HTTP factories.

1466.3k3](/packages/pdeans-http)[aalfiann/parallel-request-php

A PHP class to create multiple request in parallel (non-blocking).

1219.3k3](/packages/aalfiann-parallel-request-php)

PHPackages © 2026

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