PHPackages                             craftrac/paracurl - 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. craftrac/paracurl

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

craftrac/paracurl
=================

curl wrapper for php

v1.0.1(1y ago)057MITPHP

Since Aug 30Pushed 1y ago1 watchersCompare

[ Source](https://github.com/craftrac/paracurl)[ Packagist](https://packagist.org/packages/craftrac/paracurl)[ RSS](/packages/craftrac-paracurl/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (1)Versions (4)Used By (0)

Paracurl
========

[](#paracurl)

Paracurl is a simple PHP wrapper for making HTTP API requests using cURL. It provides an easy-to-use interface for sending `GET`, `POST`, and `PUT` requests, with support for basic authentication and token-based authentication.

Features
--------

[](#features)

- Supports `GET`, `POST`, and `PUT` HTTP methods.
- Easily configure API endpoints and credentials via environment variables.
- Built-in support for basic authentication or token-based authentication.
- Simple and intuitive interface for making API calls.

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

[](#installation)

To install Paracurl, you can simply add it to your project using Composer:

```
composer require cractrac/paracurl
```

Usage
-----

[](#usage)

You may use multiple API configurations. If the API requires basic authentication, you can use the following USERNAME and PASSWORD environment variables: Otherwise use TOKEN environment variable

```
PARACURL__BASEURL
PARACURL__USERNAME
PARACURL__PASSWORD
PARACURL__TOKEN
```

Examples
--------

[](#examples)

```
// Initialize Paracurl
$paracurl = new Paracurl('', '');

// Send a GET request
$response = $paracurl->get();
$responseData = json_decode($response, true);

// Send a GET request with url data
$data = [
    'key' => 'value'
];
$response = $paracurl->get($data);
$responseData = json_decode($response, true);

// Send a POST request with body data
$data = [
    'key' => 'value'
];
$response = $paracurl->post($data);
$responseData = json_decode($response, true);

// Send a PUT request with body data
$data = [
    'key' => 'value'
];
$response = $paracurl->put($data);
$responseData = json_decode($response, true);
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

673d ago

### Community

Maintainers

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

---

Top Contributors

[![splatrac](https://avatars.githubusercontent.com/u/115872140?v=4)](https://github.com/splatrac "splatrac (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/craftrac-paracurl/health.svg)

```
[![Health](https://phpackages.com/badges/craftrac-paracurl/health.svg)](https://phpackages.com/packages/craftrac-paracurl)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M92](/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

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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