PHPackages                             krisanalfa/rikues - 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. krisanalfa/rikues

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

krisanalfa/rikues
=================

A simple cURL library for PHP.

0.0.3(10y ago)017MITPHP

Since Apr 22Pushed 10y agoCompare

[ Source](https://github.com/krisanalfa/rikues)[ Packagist](https://packagist.org/packages/krisanalfa/rikues)[ RSS](/packages/krisanalfa-rikues/feed)WikiDiscussions master Synced 3w ago

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

Rikues
======

[](#rikues)

Rikues is a simple cURL library with serialization support.

Basic Usage
-----------

[](#basic-usage)

```
use Rikues\Rikues;

$rikues = new Rikues("https://httpbin.org/get");

$response = $rikues->send();
```

POST Request
------------

[](#post-request)

```
use Rikues\Rikues;

$rikues = new Rikues("https://httpbin.org/post");

$rikues->withParam('foo', 'bar');
$rikues->withParam('baz', 'quux');

$rikues->withMethod('POST');

$response = $rikues->send();
```

Working With Headers
--------------------

[](#working-with-headers)

```
use Rikues\Rikues;

$rikues = new Rikues("https://httpbin.org/get");

$rikues->withHeader('Accept', 'application/json');
$rikues->withHeader('Authorization', 'Bearer xxx');

$response = $rikues->send();
```

Working With Query Params
-------------------------

[](#working-with-query-params)

```
use Rikues\Rikues;

$rikues = new Rikues("https://httpbin.org/get");

$rikues->withParam('foo', 'bar');
$rikues->withParam('baz', 'quux');

// Request to https://httpbin.org/get?foo=bar&baz=quux

$response = $rikues->send();
```

Working With Exception
----------------------

[](#working-with-exception)

```
use Rikues\Rikues;
use Rikues\Exceptions\ClientException;
use Rikues\Exceptions\ServerException;

$rikues = new Rikues("https://httpbin.org/get");

try {
    $response = $rikues->send();
} catch (ClientException $e) {
    echo $e->getMessage().PHP_EOL;
} catch (ServerException $e) {
    $serverResponse = $e->response;
}
```

### Working With Serialization

[](#working-with-serialization)

```
$rikues = new Rikues("https://httpbin.org/post");

$rikues->withParam('foo', 'bar');
$rikues->withParam('baz', 'quux');

$rikues->withMethod('POST');

$serialized = serialize($rikues);

$unserialized = unserialize($serialized);

$response = $unserialized->send();
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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

3720d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5585ab7e83e92b16ebfde64d7d90ff330721bcb1fbfa193fb0ffe149a4b3a7d1?d=identicon)[krisanalfa](/maintainers/krisanalfa)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/krisanalfa-rikues/health.svg)

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

###  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)
