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)054MITPHP

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 1mo ago

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 37% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity10

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.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

626d 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

[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)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78026.4M414](/packages/react-http)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48347.0M384](/packages/php-http-curl-client)[smi2/phpclickhouse

PHP ClickHouse Client

84310.1M71](/packages/smi2-phpclickhouse)

PHPackages © 2026

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