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

ActiveLibrary[Payment Processing](/categories/payments)

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

Official PHP SDK for the OrvexPay Payment Gateway.

00PHP

Since Mar 4Pushed 4mo agoCompare

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

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

18

—

LowBetter than 8% of packages

Maintenance52

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity12

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://avatars.githubusercontent.com/u/264007395?v=4)[OrvexPay](/maintainers/OrvexPay)[@OrvexPay](https://github.com/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)
```

###  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)
