PHPackages                             gbksoft/rxp-remote-php - 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. gbksoft/rxp-remote-php

ActiveLibrary[Payment Processing](/categories/payments)

gbksoft/rxp-remote-php
======================

SDK to send requests and parse responses from Realex Payments using Remote

v1.2(9y ago)146MITPHPPHP &gt;=5.3.9

Since Sep 15Pushed 9y ago2 watchersCompare

[ Source](https://github.com/gbksoft/rxp-remote-php)[ Packagist](https://packagist.org/packages/gbksoft/rxp-remote-php)[ RSS](/packages/gbksoft-rxp-remote-php/feed)WikiDiscussions master Synced 4w ago

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

Realex Payments Remote PHP SDK
==============================

[](#realex-payments-remote-php-sdk)

You can sign up for a free Realex Payments sandbox account at

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

[](#requirements)

- PHP &gt;= 5.3.9
- Composer ()

Instructions
------------

[](#instructions)

1. Add the following to your 'composer.json' file

    ```
    {
        "require": {
            "gbksoft/rxp-remote-php": "1.0.0"
        }
    }

    ```
2. Inside the application directory run composer:

    ```
    composer update

    ```

    OR (depending on your server configuration)

    ```
    php composer.phar update

    ```
3. Add a reference to the autoloader class anywhere you need to use the sdk

    ```
    require_once ( 'vendor/autoload.php' );
    ```
4. Use the sdk

    ```
    $card = ( new Card() )
    		->addType( CardType::VISA )
    		->addNumber( "4263971921001307" )
        ....
    ```

\##SDK Example##

```
require_once ( 'vendor/autoload.php' );

use com\realexpayments\remote\sdk\domain\Card;
use com\realexpayments\remote\sdk\domain\CardType;
use com\realexpayments\remote\sdk\domain\PresenceIndicator;
use com\realexpayments\remote\sdk\domain\payment\AutoSettle;
use com\realexpayments\remote\sdk\domain\payment\AutoSettleFlag;
use com\realexpayments\remote\sdk\domain\payment\PaymentRequest;
use com\realexpayments\remote\sdk\domain\payment\PaymentResponse;
use com\realexpayments\remote\sdk\domain\payment\PaymentType;
use com\realexpayments\remote\sdk\RealexClient;

// test payment

$card = ( new Card() )
        ->addType( CardType::VISA )
		->addNumber( "4263971921001307" )
        ->addExpiryDate( "1220" )
		->addCvn( "123" )
		->addCvnPresenceIndicator( PresenceIndicator::CVN_PRESENT )
		->addCardHolderName( "James Mason" );

$request = ( new PaymentRequest() )
        ->addType( PaymentType::AUTH )
        ->addCard( $card )
        ->addMerchantId( "myMerchantId" )
        ->addAccount( "mySubAccount" )
        ->addAmount( 1001 )
        ->addCurrency( "EUR" )
        ->addAutoSettle( ( new AutoSettle() )->addFlag( AutoSettleFlag::TRUE ) );

$client   = new RealexClient( "mySecret" );
$response = $client->send( $request );

// do something with the response
echo $response->toXML();

$resultCode = $response->getResult();
$message = $response->getMessage();

```

License
-------

[](#license)

See the LICENSE file.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 92% 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 ~224 days

Total

3

Last Release

3493d ago

### Community

Maintainers

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

---

Top Contributors

[![vicpada](https://avatars.githubusercontent.com/u/80010?v=4)](https://github.com/vicpada "vicpada (127 commits)")[![graham-whelan](https://avatars.githubusercontent.com/u/13943048?v=4)](https://github.com/graham-whelan "graham-whelan (4 commits)")[![RealexITSO](https://avatars.githubusercontent.com/u/13001713?v=4)](https://github.com/RealexITSO "RealexITSO (4 commits)")[![seanmacdomhnall](https://avatars.githubusercontent.com/u/6827648?v=4)](https://github.com/seanmacdomhnall "seanmacdomhnall (3 commits)")

---

Tags

paymentsremoterealex

### Embed Badge

![Health badge](/badges/gbksoft-rxp-remote-php/health.svg)

```
[![Health](https://phpackages.com/badges/gbksoft-rxp-remote-php/health.svg)](https://phpackages.com/packages/gbksoft-rxp-remote-php)
```

###  Alternatives

[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k50.1M314](/packages/api-platform-core)[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[api-platform/symfony

Symfony API Platform integration

354.0M110](/packages/api-platform-symfony)[api-platform/serializer

API Platform core Serializer

244.3M71](/packages/api-platform-serializer)[web-auth/webauthn-lib

FIDO2/Webauthn Support For PHP

1237.8M121](/packages/web-auth-webauthn-lib)[imdhemy/google-play-billing

Google Play Billing

491.4M5](/packages/imdhemy-google-play-billing)

PHPackages © 2026

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