PHPackages                             dv-net/dv-net-php-client - 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. dv-net/dv-net-php-client

ActiveLibrary[API Development](/categories/api)

dv-net/dv-net-php-client
========================

A convenient way to integrate DV.net to your platform

v0.9.7(7mo ago)169.8k↓25.5%6[1 PRs](https://github.com/dv-net/dv-net-php-client/pulls)MITPHPPHP ^8.1

Since May 23Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/dv-net/dv-net-php-client)[ Packagist](https://packagist.org/packages/dv-net/dv-net-php-client)[ RSS](/packages/dv-net-dv-net-php-client/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (7)Dependencies (6)Versions (14)Used By (0)

DV Net Client
=============

[](#dv-net-client)

A PHP client for DV Net API integration.

Extended documentation
======================

[](#extended-documentation)

You can find extended documentation at

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

[](#installation)

```
composer require dv-net/dv-net-php-client
```

Setup
-----

[](#setup)

Initialize the client with your API configuration:

```
// Create HTTP client (you can use the built-in SimpleHttpClient or your own implementation)
$httpClient = new SimpleHttpClient();

// Initialize the merchant client with your API host
$client = new MerchantClient(
    httpClient: $httpClient,
    host: 'https://api.example.com' // Your DV Net API host
);

// Alternatively, you can pass the host in each request:
$client = new MerchantClient(
    httpClient: $psrHttpClient,
    xApiKey: 'your-api-key',
    host: 'https://api.example.com'
);
```

Usage
-----

[](#usage)

### Signature Verification

[](#signature-verification)

Verify the authenticity of request signatures:

```
$merchantUtilsManager = new MerchantUtilsManager();
$isValid = $merchantUtilsManager->checkSign(
    clientSignature: 'received-signature-hash',
    clientKey: 'your-client-key',
    requestBody: ['data' => 'request-payload']
);
// Returns boolean indicating if the signature is valid
```

### Exchange Balances

[](#exchange-balances)

Get the total exchange balances across all currencies:

```
$client = new MerchantClient($httpClient, $host);
$response = $client->getExchangeBalances(
    xApiKey: 'your-api-key'
);
// Returns TotalExchangeBalanceResponse object with total USD value and individual currency balances
```

### External Wallet

[](#external-wallet)

Create or retrieve an external wallet for a user:

```
$response = $client->getExternalWallet(
    xApiKey: 'your-api-key',
    email: 'user@example.com',
    ip: '127.0.0.1',
    storeExternalId: 'store-123',
    amount: '100.00',
    currency: 'USD'
);
// Returns ExternalAddressesResponse object with wallet details and payment URL
```

### Processing Wallets Balances

[](#processing-wallets-balances)

Get balances for all processing wallets:

```
$balances = $client->getProcessingWalletsBalances(
    xApiKey: 'your-api-key'
);
// Returns ProcessingWalletBalancesResponse object with detailed balance information
```

### Store Currencies

[](#store-currencies)

Get list of available currencies for the store:

```
$currencies = $client->getStoreCurrencies(
    xApiKey: 'your-api-key'
);
// Returns CurrenciesResponse object with detailed currency information
```

### Store Currency Rate

[](#store-currency-rate)

Get current exchange rate for a specific currency:

```
$rate = $client->getStoreCurrencyRate(
    xApiKey: 'your-api-key',
    currencyId: 'BTC'
);
// Returns CurrencyRate object with current rate and source information
```

### Withdrawal Processing Status

[](#withdrawal-processing-status)

Check the status of a withdrawal:

```
$status = $client->getWithdrawalProcessingStatus(
    xApiKey: 'your-api-key',
    withdrawalId: 'withdrawal-123'
);
// Returns ProcessingWithdrawal object with detailed withdrawal status
```

### Initialize Transfer

[](#initialize-transfer)

Initialize a new withdrawal transfer:

```
$withdrawal = $client->initializeTransfer(
    xApiKey: 'your-api-key',
    addressTo: '0x123...',
    currencyId: 'ETH',
    amount: '1.5'
);
// Returns WithdrawalResponse object with transfer details
```

### Webhook Processing

[](#webhook-processing)

Process incoming webhooks:

```
$mapper = new WebhookMapper();
$webhook = $mapper->mapWebhook($rawWebhookData);
// Returns either ConfirmedWebhook or UnconfirmedWebhook object
```

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance65

Regular maintenance activity

Popularity35

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 52.9% 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 ~27 days

Total

8

Last Release

211d ago

### Community

Maintainers

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

---

Top Contributors

[![kurt-morgan](https://avatars.githubusercontent.com/u/228478470?v=4)](https://github.com/kurt-morgan "kurt-morgan (9 commits)")[![RadgRabbi](https://avatars.githubusercontent.com/u/133571623?v=4)](https://github.com/RadgRabbi "RadgRabbi (5 commits)")[![MyPasswordIsFreedoom](https://avatars.githubusercontent.com/u/220361089?v=4)](https://github.com/MyPasswordIsFreedoom "MyPasswordIsFreedoom (1 commits)")[![qsers7](https://avatars.githubusercontent.com/u/78759880?v=4)](https://github.com/qsers7 "qsers7 (1 commits)")[![tstest908-lab](https://avatars.githubusercontent.com/u/247971643?v=4)](https://github.com/tstest908-lab "tstest908-lab (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/dv-net-dv-net-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/dv-net-dv-net-php-client/health.svg)](https://phpackages.com/packages/dv-net-dv-net-php-client)
```

###  Alternatives

[openai-php/client

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

5.8k28.0M318](/packages/openai-php-client)[sylius/sylius

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

8.5k5.9M738](/packages/sylius-sylius)[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35789.4k2](/packages/telnyx-telnyx-php)[mollie/mollie-api-php

Mollie API client library for PHP. Mollie is a European Payment Service provider and offers international payment methods such as Mastercard, VISA, American Express and PayPal, and local payment methods such as iDEAL, Bancontact, SOFORT Banking, SEPA direct debit, Belfius Direct Net, KBC Payment Button and various gift cards such as Podiumcadeaukaart and fashioncheque.

60216.0M85](/packages/mollie-mollie-api-php)[deeplcom/deepl-php

Official DeepL API Client Library

2607.3M114](/packages/deeplcom-deepl-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)

PHPackages © 2026

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