PHPackages                             bulbakh/rafinita - 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. bulbakh/rafinita

ActiveLibrary

bulbakh/rafinita
================

Implementation of a test task for Akurateco

01PHP

Since Oct 30Pushed 2y ago1 watchersCompare

[ Source](https://github.com/bulbakh/rafinita)[ Packagist](https://packagist.org/packages/bulbakh/rafinita)[ RSS](/packages/bulbakh-rafinita/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Implementation of a test task for Akurateco
===========================================

[](#implementation-of-a-test-task-for-akurateco)

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

[](#installation)

### Install via Composer

[](#install-via-composer)

```
composer require bulbakh/rafinita

```

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

[](#requirements)

PHP 8.0+ CURL enabled

Example
-------

[](#example)

```
use Bulbakh\Rafinita\Client;

$apiUrl = 'https://dev-api.rafinita.com/post';

$clientKey = '5b6492f0-f8f5-11ea-976a-0242c0a85007';
$email = 'example@example.com';
$pass = 'd0ec0beca8a3c30652746925d5380cf3';

$client = new Client($clientKey, $email, $pass);

$params = [
    'order_id' => 'ORDER-' . time(),
    'order_amount' => '1.99',
    'order_currency' => 'USD',
    'order_description' => 'Product',
    'card_number' => '4111111111111111',
    'card_exp_month' => '01',
    'card_exp_year' => '2025',
    'card_cvv2' => '000',
    'payer_first_name' => 'Joe',
    'payer_last_name' => 'Biden',
    'payer_address' => 'White House',
    'payer_country' => 'US',
    'payer_city' => 'City',
    'payer_zip' => '123456',
    'payer_phone' => '199999999',
    'payer_ip' => '123.123.123.123',
    'term_url_3ds' => 'https://client.site.com/return.php',
];

try {
    $response = $client->doRequest($apiUrl,'SALE', $params);
    echo '';
    print_r(json_decode($response));
} catch (Exception $e) {
    echo $e->getMessage(), "\n";
}

```

Source: examples/SaleExample.php

###  Health Score

12

—

LowBetter than 0% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d2442bfa552597287986bb847dfe217536ae5d7f5728bf8b9bf1a2a13044674?d=identicon)[bulbakh](/maintainers/bulbakh)

### Embed Badge

![Health badge](/badges/bulbakh-rafinita/health.svg)

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

PHPackages © 2026

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