PHPackages                             rocketr/rocketr-payments-php - 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. rocketr/rocketr-payments-php

ActiveLibrary

rocketr/rocketr-payments-php
============================

Rocketr PHP library

1.1(8y ago)389MITPHPPHP &gt;=5.4.0

Since Feb 28Pushed 8y ago2 watchersCompare

[ Source](https://github.com/Rocketr/rocketr-payments-php)[ Packagist](https://packagist.org/packages/rocketr/rocketr-payments-php)[ Docs](https://rocketr.net/)[ RSS](/packages/rocketr-rocketr-payments-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Rocketr Payments API
====================

[](#rocketr-payments-api)

### Composer

[](#composer)

The easiest way to use the library is through [Composer](https://getcomposer.org/):

```
composer require rocketr/rocketr-payments-php
```

Then in your code, load the [Autoloader](https://getcomposer.org/doc/01-basic-usage.md#autoloading):

```
require_once('vendor/autoload.php');
```

### Manual Installation

[](#manual-installation)

To manually use the library, download the [latest release](https://github.com/Rocketr/rocketr-payments-php/releases) and include the `init.php` file in your code:

```
require_once('/path-to-rocketr-payments-php/init.php');
```

Getting Started
===============

[](#getting-started)

Please take a look in the `examples/` folder to see how to use different API functions.

If you want to simply create a payment request, it's really simple:

```
\RocketrPayments\RocketrPayments::setApiKey('API_CLIENT_ID', 'API_SECRET'); //From https://rocketr.net/merchants/api-keys
$o = new \RocketrPayments\Order();

$o->setPaymentMethod(\RocketrPayments\PaymentMethods::BitcoinPayment);
$o->setAmount(12.31);
$o->setBuyerEmail('saad@rocketr.net');
$o->addCustomField('internal_id', '2195342212');
$o->setIpnUrl('https://rocketr.net/webhook.php');

$result = $o->createOrder();

echo 'Please send ' . $result['paymentInstructions']['amount']  . $result['paymentInstructions']['currencyText'] . ' to ' . $result['paymentInstructions']['address'];
```

Support
=======

[](#support)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

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 ~19 days

Total

2

Last Release

2972d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0761503d4c01d8db1fd7b195b853f3bfafe19e4fb3c0d09c1baa9d077a80075b?d=identicon)[Rocketr](/maintainers/Rocketr)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/rocketr-rocketr-payments-php/health.svg)

```
[![Health](https://phpackages.com/badges/rocketr-rocketr-payments-php/health.svg)](https://phpackages.com/packages/rocketr-rocketr-payments-php)
```

PHPackages © 2026

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