PHPackages                             zero-to-prod/curl-helper-sdk - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. zero-to-prod/curl-helper-sdk

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

zero-to-prod/curl-helper-sdk
============================

A Curl Help Software Development Kit.

v1.1.0(1y ago)15572MITPHPPHP &gt;=8.1CI passing

Since Feb 4Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/zero-to-prod/curl-helper-sdk)[ Packagist](https://packagist.org/packages/zero-to-prod/curl-helper-sdk)[ Docs](https://github.com/zero-to-prod/curl-helper-sdk)[ Fund](https://github.com/sponsors/zero-to-prod)[ RSS](/packages/zero-to-prod-curl-helper-sdk/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (5)Versions (5)Used By (2)

Zerotoprod\\CurlHelperSdk
=========================

[](#zerotoprodcurlhelpersdk)

[![](art/logo.png)](art/logo.png)

[![Repo](https://camo.githubusercontent.com/9a90a3efeee26aed7d7f2feee9cd84566a26f9c362cc773b184d076210906e1c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6769746875622d677261793f6c6f676f3d676974687562)](https://github.com/zero-to-prod/curl-helper-sdk)[![GitHub Actions Workflow Status](https://camo.githubusercontent.com/745462deaf3b3a02c6b004aa7882d6b43872bf2e81463a68361cba97891e0361/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7a65726f2d746f2d70726f642f6375726c2d68656c7065722d73646b2f746573742e796d6c3f6c6162656c3d74657374)](https://github.com/zero-to-prod/curl-helper-sdk/actions)[![GitHub Actions Workflow Status](https://camo.githubusercontent.com/9d3fe96f8fe169d85772ba9c1bdf1a1b6c586c7049e655e7330226f33335ad14/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7a65726f2d746f2d70726f642f6375726c2d68656c7065722d73646b2f6261636b77617264735f636f6d7061746962696c6974792e796d6c3f6c6162656c3d6261636b77617264735f636f6d7061746962696c697479)](https://github.com/zero-to-prod/curl-helper-sdk/actions)[![Packagist Downloads](https://camo.githubusercontent.com/46fd5b9266208ebaa0ccb667ddc91a73666fdd587e71ce42261f1ef07029dae2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a65726f2d746f2d70726f642f6375726c2d68656c7065722d73646b3f636f6c6f723d626c7565)](https://packagist.org/packages/zero-to-prod/curl-helper-sdk/stats)[![php](https://camo.githubusercontent.com/736436b8552940e708b454bbb8f67f4e7bd59f86ffd36d9f05795e142ca6effc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7a65726f2d746f2d70726f642f6375726c2d68656c7065722d73646b2e7376673f636f6c6f723d707572706c65)](https://packagist.org/packages/zero-to-prod/curl-helper-sdk/stats)[![Packagist Version](https://camo.githubusercontent.com/4786b3a16fc5a38cc36e699f45fd1f6fcd2969d2b0d40f7b5fa9294e265fac94/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a65726f2d746f2d70726f642f6375726c2d68656c7065722d73646b3f636f6c6f723d663238643161)](https://packagist.org/packages/zero-to-prod/curl-helper-sdk)[![License](https://camo.githubusercontent.com/89da9e35a03950222ee7a300f0481e9f2143d78a7517082d11873e92dcac32f5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7a65726f2d746f2d70726f642f6375726c2d68656c7065722d73646b3f636f6c6f723d70696e6b)](https://github.com/zero-to-prod/curl-helper-sdk/blob/main/LICENSE.md)[![wakatime](https://camo.githubusercontent.com/372cf5efd74035ba3dedd778072734ecaf00dffcd6599913ef4b791f8f307ac9/68747470733a2f2f77616b6174696d652e636f6d2f62616467652f6769746875622f7a65726f2d746f2d70726f642f6375726c2d68656c7065722d73646b2e737667)](https://wakatime.com/badge/github/zero-to-prod/curl-helper-sdk)[![Hits-of-Code](https://camo.githubusercontent.com/49daf6149725819c883e90c36e9ad54ec78a73cc0fba733eda96ded9c23d010f/68747470733a2f2f686974736f66636f64652e636f6d2f6769746875622f7a65726f2d746f2d70726f642f6375726c2d68656c7065722d73646b3f6272616e63683d6d61696e)](https://hitsofcode.com/github/zero-to-prod/curl-helper-sdk/view?branch=main)

Contents
--------

[](#contents)

- [Introduction](#introduction)
- [Requirements](#requirements)
- [Installation](#installation)
- [Documentation Publishing](#documentation-publishing)
    - [Automatic Documentation Publishing](#automatic-documentation-publishing)
- [Usage](#usage)
- [Local Development](./LOCAL_DEVELOPMENT.md)
- [Contributing](#contributing)

Introduction
------------

[](#introduction)

A Curl Help Software Development Kit.

Requirements
------------

[](#requirements)

- PHP 7.1 or higher.

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

[](#installation)

Install `Zerotoprod\CurlHelperSdk` via [Composer](https://getcomposer.org/):

```
composer require zero-to-prod/curl-helper-sdk
```

This will add the package to your project's dependencies and create an autoloader entry for it.

Documentation Publishing
------------------------

[](#documentation-publishing)

You can publish this README to your local documentation directory.

This can be useful for providing documentation for AI agents.

This can be done using the included script:

```
# Publish to default location (./docs/zero-to-prod/curl-helper-sdk)
vendor/bin/zero-to-prod-curl-helper-sdk

# Publish to custom directory
vendor/bin/zero-to-prod-curl-helper-sdk /path/to/your/docs
```

### Automatic Documentation Publishing

[](#automatic-documentation-publishing)

You can automatically publish documentation by adding the following to your `composer.json`:

```
{
    "scripts": {
        "post-install-cmd": [
            "zero-to-prod-curl-helper-sdk"
        ],
        "post-update-cmd": [
            "zero-to-prod-curl-helper-sdk"
        ]
    }
}
```

Usage
-----

[](#usage)

### parseHeaders

[](#parseheaders)

Parse curl headers:

```
use Zerotoprod\CurlHelperSdk\CurlHelperSdk;

$CurlHandle = curl_init('https://google.com');
curl_setopt_array($CurlHandle, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HEADER => true,
]);
$response = curl_exec($CurlHandle);
$header_size = curl_getinfo($CurlHandle, CURLINFO_HEADER_SIZE);
curl_close($CurlHandle);

$headers = CurlHelperSdk::parseHeaders($curl_response, $header_size)
```

Contributing
------------

[](#contributing)

Contributions, issues, and feature requests are welcome! Feel free to check the [issues](https://github.com/zero-to-prod/curl-helper-sdk/issues) page if you want to contribute.

1. Fork the repository.
2. Create a new branch (`git checkout -b feature-branch`).
3. Commit changes (`git commit -m 'Add some feature'`).
4. Push to the branch (`git push origin feature-branch`).
5. Create a new Pull Request.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance48

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity50

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

Every ~0 days

Total

3

Last Release

515d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/502649f05d36c87d494988bd99193a4d908d345335d99c080928a726277371f5?d=identicon)[zero-to-prod](/maintainers/zero-to-prod)

---

Top Contributors

[![zero-to-prod](https://avatars.githubusercontent.com/u/61474950?v=4)](https://github.com/zero-to-prod "zero-to-prod (11 commits)")

---

Tags

zero-to-prodcurl-helper-sdk

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zero-to-prod-curl-helper-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/zero-to-prod-curl-helper-sdk/health.svg)](https://phpackages.com/packages/zero-to-prod-curl-helper-sdk)
```

###  Alternatives

[zero-to-prod/data-model

Transforms Data into Type-Safe DTOs.

14231.6k32](/packages/zero-to-prod-data-model)

PHPackages © 2026

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