PHPackages                             orvexpay/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. orvexpay/sdk

ActiveLibrary

orvexpay/sdk
============

Official PHP SDK for the OrvexPay Payment Gateway.

00PHP

Since Mar 4Pushed 2mo agoCompare

[ Source](https://github.com/OrvexPay/OrvexPay-Php-SDK)[ Packagist](https://packagist.org/packages/orvexpay/sdk)[ RSS](/packages/orvexpay-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

OrvexPay PHP SDK
================

[](#orvexpay-php-sdk)

Official PHP SDK for the OrvexPay Payment Gateway.

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

[](#installation)

Install via Composer:

```
composer require orvexpay/sdk
```

Usage
-----

[](#usage)

### Initialize the Client

[](#initialize-the-client)

```
use OrvexPay\Sdk\OrvexClient;

$client = new OrvexClient('your-api-key');
```

### Create an Invoice

[](#create-an-invoice)

```
try {
    $invoice = $client->createInvoice([
        'priceAmount' => '100.00',
        'priceCurrency' => 'USD',
        'payCurrency' => 'USDT',
        'successUrl' => 'https://your-site.com/success',
        'cancelUrl' => 'https://your-site.com/cancel',
        'orderId' => 'Order-123',
        'orderDescription' => 'Test Payment'
    ]);

    echo "Invoice Created: " . $invoice['id'];
} catch (\OrvexPay\Sdk\Exceptions\OrvexException $e) {
    echo $e->getMessage();
}
```

### Get Invoice Details

[](#get-invoice-details)

```
$invoice = $client->getInvoice('invoice-id');
echo "Status: " . $invoice['status'];
```

### Change Invoice Currency

[](#change-invoice-currency)

```
$updatedInvoice = $client->updateInvoiceCurrency('invoice-id', 'BTC');
```

Features
--------

[](#features)

- Simple and modern PHP implementation.
- PSR-4 autoloading compliant.
- Built-in exception handling.
- Guzzle powered for reliable HTTP communication.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance61

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f86dae11b66696d3c1a4a491b183b0588464edc38ef5c45bef4dcb69eb5b69b2?d=identicon)[OrvexPay](/maintainers/OrvexPay)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/orvexpay-sdk/health.svg)

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

PHPackages © 2026

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