PHPackages                             ostapovich/radom - 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. [Payment Processing](/categories/payments)
4. /
5. ostapovich/radom

ActiveLibrary[Payment Processing](/categories/payments)

ostapovich/radom
================

Package for Radom crypto payment system (https://www.radom.com/)

1.0.2(2y ago)79MITPHPPHP ^8.1

Since Apr 16Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Andrusha-Ostapovich/Radom-Crypto-Payment)[ Packagist](https://packagist.org/packages/ostapovich/radom)[ RSS](/packages/ostapovich-radom/feed)WikiDiscussions main Synced yesterday

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

Radom Crypto Payment Package
============================

[](#radom-crypto-payment-package)

[![](https://camo.githubusercontent.com/2bedf63f24cda7efab02da955dc11fb7ef8a060e2f26b73c33a7aac84529b8a3/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f737570706f72742d756b7261696e652e7376673f743d31)](https://supportukrainenow.org)

Introduction
------------

[](#introduction)

Welcome to the Radom Crypto Payment Package! This package provides a simple and convenient way to integrate Radom's crypto payment system into your PHP applications.

Radom is a leading platform for processing cryptocurrency payments, offering secure and efficient solutions for businesses and individuals worldwide.

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

[](#installation)

To install the Radom Crypto Payment Package, simply use Composer:

```
composer require ostapovich/radom
```

Usage
-----

[](#usage)

### Initialization

[](#initialization)

To get started, initialize the Radom object with your API token and specify whether you want to use the test mode:

```
use Ostapovich\Radom;

$apiToken = 'your_api_token';
$prodMode = false; // Set to false for test mode (all cryptocurrencies are displayed in the test mode), true for production mode

$radom = new Radom($apiToken, $prodMode);
```

### Creating Payment Links

[](#creating-payment-links)

The main functionality of this package is to create payment links for cryptocurrency transactions. You can create a payment link using the `createPaymentLink` method:

```
$orderNumber = '123';
$amount = 100;
$currency = 'USD';
$successUrl = 'your_successURL';
$cancelUrl = 'cancelUrl';

$paymentLink = $radom->createPaymentLink($orderNumber, $amount, $currency, $successUrl, $cancelUrl);
```

Optionally, you can specify an array of cryptocurrencies to be accepted for payment. If not specified, all available cryptocurrencies will be used.

### Getting Payment Methods

[](#getting-payment-methods)

You can also retrieve a list of available payment methods using the `getPaymentMethods` method:

```
$paymentMethods = $radom->getPaymentMethods();
```

This method returns an array containing information about each available cryptocurrency.

Additional Functionality
------------------------

[](#additional-functionality)

In addition to creating payment links, the Radom Crypto Payment Package also provides a method to retrieve all available payment methods supported by the Radom platform.

Examples
--------

[](#examples)

Here's an example of how you might use the Radom Crypto Payment Package in a Laravel application:

```
use Ostapovich\Radom;

class PaymentController extends Controller
{
    public function createPayment(Request $request)
    {
        $apiToken = env('RADOM_API_TOKEN');
        $prodMode = false;

        $radom = new Radom($apiToken, $prodMode);

        $orderNumber = $request->input('order_number');
        $amount = $request->input('amount');
        $currency = $request->input('currency');
        $successUrl = $request->input('success_url');
        $cancelUrl = $request->input('cancel_url');

        $paymentLink = $radom->createPaymentLink($orderNumber, $amount, $currency, $successUrl, $cancelUrl);

        return redirect($paymentLink['url']);
    }
}
```

Contribution
------------

[](#contribution)

Contributions to the Radom Crypto Payment Package are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request on [GitHub](https://github.com/Andrusha-Ostapovich/Radom-Crypto-Payment).

License
-------

[](#license)

This package is open-source software licensed under the [MIT license](https://opensource.org/licenses/MIT).

---

Thank you for choosing the Radom Crypto Payment Package! We hope it serves you well in your cryptocurrency payment integration needs.

Пакет криптовалютних платежів Radom
===================================

[](#пакет-криптовалютних-платежів-radom)

Вступ
-----

[](#вступ)

Ласкаво просимо до пакету криптовалютних платежів Radom! Цей пакет надає простий та зручний спосіб інтеграції системи криптовалютних платежів Radom у ваші PHP-додатки.

Radom є провідною платформою для обробки криптовалютних платежів, яка пропонує безпечні та ефективні рішення для бізнесу та приватних осіб по всьому світу.

Встановлення
------------

[](#встановлення)

Для встановлення пакету криптовалютних платежів Radom просто використовуйте Composer:

```
composer require ostapovich/radom
```

Використання
------------

[](#використання)

### Ініціалізація

[](#ініціалізація)

Для початку роботи ініціалізуйте об'єкт Radom з вашим API-токеном та вкажіть, чи бажаєте ви використовувати тестовий режим:

```
use Ostapovich\Radom;

$apiToken = 'ваш_api_токен';
$prodMode = false; // Встановіть false для тестового режиму (в тестовому режимі виводяться всі криптовалюти), true для режиму продукції

$radom = new Radom($apiToken, $prodMode);
```

### Створення Посилань на Платіж

[](#створення-посилань-на-платіж)

Основна функціональність цього пакету - створення посилань на платіж для транзакцій з криптовалютами. Ви можете створити посилання на платіж за допомогою методу `createPaymentLink`:

```
$orderNumber = '123';
$amount = 100;
$currency = 'USD';
$successUrl = 'ваш_успішний_URL';
$cancelUrl = 'ваш_URL_скасування';

$paymentLink = $radom->createPaymentLink($orderNumber, $amount, $currency, $successUrl, $cancelUrl);
```

Необов'язково ви можете вказати масив криптовалют, які приймаються для платежу. Якщо не вказано, будуть використані всі доступні криптовалюти.

### Отримання Способів Платежу

[](#отримання-способів-платежу)

Ви також можете отримати список доступних способів платежу за допомогою методу `getPaymentMethods`:

```
$paymentMethods = $radom->getPaymentMethods();
```

Цей метод повертає масив, що містить інформацію про кожну доступну криптовалюту.

Додатковий Функціонал
---------------------

[](#додатковий-функціонал)

Крім створення посилань на платіж, пакет криптовалютних платежів Radom також надає метод для отримання всіх доступних способів платежу, підтримуваних платформою Radom.

Приклади
--------

[](#приклади)

Ось приклад того, як ви можете використовувати пакет криптовалютних платежів Radom у додатку на Laravel:

```
use Ostapovich\Radom;

class PaymentController extends Controller
{
    public function createPayment(Request $request)
    {
        $apiToken = env('RADOM_API_TOKEN');
        $prodMode = false;

        $radom = new Radom($apiToken, $prodMode);

        $orderNumber = $request->input('order_number');
        $amount = $request->input('amount');
        $currency = $request->input('currency');
        $successUrl = $request->input('success_url');
        $cancelUrl = $request->input('cancel_url');

        $paymentLink = $radom->createPaymentLink($orderNumber, $amount, $currency, $successUrl, $cancelUrl);

        return redirect($paymentLink['url']);
    }
}
```

Внесок
------

[](#внесок)

Внесок у пакет криптовалютних платежів Radom вітається! Якщо ви знайшли помилки або маєте пропозиції щодо вдосконалення, будь ласка, відкрийте питання або надішліть запит на злиття на [GitHub](https://github.com/Andrusha-Ostapovich/Radom-Crypto-Payment).

Ліцензія
--------

[](#ліцензія)

Цей пакет є відкритим програмним забезпеченням, ліцензованим на умовах ліцензії [MIT](https://opensource.org/licenses/MIT).

---

Дякуємо за вибір пакету криптовалютних платежів Radom! Ми сподіваємося, що він буде корисним для ваших потреб інтеграції криптовалютних платежів.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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

808d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/91880948?v=4)[Nolej](/maintainers/Andrusha-Ostapovich)[@Andrusha-Ostapovich](https://github.com/Andrusha-Ostapovich)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ostapovich-radom/health.svg)

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

###  Alternatives

[msilabs/bkash

bKash Payment Gateway API for Laravel Framework.

181.2k](/packages/msilabs-bkash)

PHPackages © 2026

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