PHPackages                             rkfl/rocketfuel-php-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. [API Development](/categories/api)
4. /
5. rkfl/rocketfuel-php-sdk

ActiveLibrary[API Development](/categories/api)

rkfl/rocketfuel-php-sdk
=======================

PHP SDK for interacting with Rocketfuel

1.1.0(2y ago)06.6k↓16.7%MITPHPPHP &gt;=7.4

Since Apr 22Pushed 1y agoCompare

[ Source](https://github.com/RocketFuel-BlockChain-Inc/rocketfuel-php-sdk)[ Packagist](https://packagist.org/packages/rkfl/rocketfuel-php-sdk)[ RSS](/packages/rkfl-rocketfuel-php-sdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (11)Versions (7)Used By (0)

PHP library for the Rocketfuel API.
===================================

[](#php-library-for-the-rocketfuel-api)

This is a PHP client library for accessing the Rocketfuel API.

Where possible, the services available on the client groups the API into logical chunks and correspond to the structure of the Rocketfuel API documentation at

Installation
============

[](#installation)

\##via composer

```
composer require rkfl/rocketfuel-php-sdk

```

\##Manual install composer will install all dependencies

```
git clone https://bitbucket.org/rocketfuelblockchain/rocketfuel-php-sdk.git
cd rocketfuel-php-sdk
composer install

```

\##Generate Invoice link

```
use Api\Client\Options;
use Api\Client\Rocketfuel;

require_once PATH_TO_VENDOR . '/vendor/autoload.php';
$options = new Options(
    [
        'environment' => 'sandbox', //or prod
        'merchant_id' => 'MERCHANT_ID',
        'merchant_public_key' => "PUBLIC_KEY",
        'client_id'=>"CLIENT_ID",
        'client_secret'=>"CLIENT_SECRET",
    ]
);
$payload = [
    'amount' => '100',
    'cart' => [
        [
            'id' => '1',
            'name' => 'test',
            'price' => '100',
            'quantity' => '1'
        ]
    ],
    'currency' => 'USD',
    'order' => 'TEST'
];

$sdk = new Rocketfuel($options);

$serviceResult = $sdk->service()->getUUID($payload);
```

Verify Webhook
--------------

[](#verify-webhook)

```
$serviceResult = $sdk->helpers()->verifyWebhook($postData->data);
```

public key should be in PEM format, copy it from your RocketFuel merchant account
---------------------------------------------------------------------------------

[](#public-key-should-be-in-pem-format-copy-it-from-your-rocketfuel-merchant-account)

Setup
=====

[](#setup)

- "Merchant ID" (provided in RocketFuel merchant UI for registered merchants).
- "callback URL" use your own url for callback from RocketFuel service.
- In the RocketFuel UI for registered merchants click "Edit" in the bottom left corner. A window will pop up and paste callback URL.

TODO
----

[](#todo)

- Tests

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 52.3% 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 ~521 days

Total

2

Last Release

795d ago

PHP version history (2 changes)1.0.0PHP ^7.4

1.1.0PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/8568a08b9d1b157abb97a4baf274b87b2ae0a2cd01ae893f3259e699e1ac8801?d=identicon)[rkfl](/maintainers/rkfl)

---

Top Contributors

[![bramdevries](https://avatars.githubusercontent.com/u/1002245?v=4)](https://github.com/bramdevries "bramdevries (23 commits)")[![blheson](https://avatars.githubusercontent.com/u/48820972?v=4)](https://github.com/blheson "blheson (21 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rkfl-rocketfuel-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/rkfl-rocketfuel-php-sdk/health.svg)](https://phpackages.com/packages/rkfl-rocketfuel-php-sdk)
```

###  Alternatives

[openai-php/client

OpenAI PHP is a supercharged PHP API client that allows you to interact with the Open AI API

5.8k22.6M232](/packages/openai-php-client)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[friendsofsymfony/http-cache

Tools to manage HTTP caching proxies with PHP

36114.7M36](/packages/friendsofsymfony-http-cache)[getbrevo/brevo-php

Official Brevo provided RESTFul API V3 php library

963.1M35](/packages/getbrevo-brevo-php)[swisnl/json-api-client

A PHP package for mapping remote JSON:API resources to Eloquent like models and collections.

211473.2k12](/packages/swisnl-json-api-client)[deeplcom/deepl-php

Official DeepL API Client Library

2616.2M66](/packages/deeplcom-deepl-php)

PHPackages © 2026

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