PHPackages                             vrpay/vrpay - 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. vrpay/vrpay

ActiveLibrary[Payment Processing](/categories/payments)

vrpay/vrpay
===========

VRpay PHPLib

v1.0.0(8y ago)09.7k—7.7%[1 issues](https://github.com/vr-pay/vr-pay-secure/issues)MITPHPPHP &gt;=5.4

Since Feb 9Pushed 8y ago1 watchersCompare

[ Source](https://github.com/vr-pay/vr-pay-secure)[ Packagist](https://packagist.org/packages/vrpay/vrpay)[ Docs](https://www.vr-pay-secure.de)[ RSS](/packages/vrpay-vrpay/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

vr-pay-secure-php
=================

[](#vr-pay-secure-php)

VERSIONING
----------

[](#versioning)

This client API library uses the API version 1.0.0 of VRpay. If you got troubles, make sure you are using the correct library version!

Requirements
------------

[](#requirements)

We recommend to use PHP version &gt;= 5.4

The following php modules are required: cURL

Getting started with VRpay
--------------------------

[](#getting-started-with-vrpay)

If you don't already use Composer, then you probably should read the installation guide .

Please include this library via Composer in your composer.json and execute **composer update** to refresh the autoload.php.

For the latest library version you can use the following content of composer.json:

```
{
    "require": {
        "vrpay/vrpay": "dev-master"
    }
}
```

For the Version 1.0.0 you can use the following content of composer.json:

```
{
    "require": {
        "vrpay/vrpay": "1.0.0"
    }
}
```

1. Instantiate the VRpay class with the following parameters: $instance: Your VRpay instance name. (e.g. instance name 'demo' you request your VRpay instance $apiSecret: This is your API secret which you can find in your instance's administration.

    ```
    $vrpay = new \VRpay\VRpay($instance, $apiSecret);
    ```
2. Instantiate the model class with the parameters described in the API-reference:

    ```
    $subscription = new \VRpay\Models\Request\Subscription();
    $subscription->setId(1);
    ```
3. Use your desired function:

    ```
    $response  = $vrpay->cancel($subscription);
    $subscriptionId = $response->getId();
    ```

    It recommend to wrap it into a "try/catch" to handle exceptions like this:

    ```
    try{
        $response  = $vrpay->cancel($subscription);
        $subscriptionId = $response->getId();
    }catch(\VRpay\VRpayException $e){
        //Do something with the error informations below
        $e->getCode();
        $e->getMessage();
    }
    ```

Documentation
-------------

[](#documentation)

For further information, please refer to the official REST API reference:

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

3020d ago

### Community

Maintainers

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

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

---

Top Contributors

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

---

Tags

paymentgateway

### Embed Badge

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

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

###  Alternatives

[lokielse/omnipay-alipay

Alipay gateway for Omnipay payment processing library

587421.0k11](/packages/lokielse-omnipay-alipay)[sudiptpa/omnipay-nabtransact

National Australia Bank (NAB) Transact driver for the Omnipay payment processing library.

1017.2k](/packages/sudiptpa-omnipay-nabtransact)[baklysystems/laravel-paymob

Laravel PayMob online payment gateway package

282.4k](/packages/baklysystems-laravel-paymob)[lucassmacedo/omnipay-mercadopago

MercadoPago gateway for OmniPay

154.6k](/packages/lucassmacedo-omnipay-mercadopago)

PHPackages © 2026

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