PHPackages                             grandmasterx/skrill - 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. grandmasterx/skrill

ActiveLibrary[API Development](/categories/api)

grandmasterx/skrill
===================

PHP5 package for Skrill interface

1.0.0(9y ago)02.4kMITPHPPHP &gt;=5.6.0

Since Apr 13Pushed 9y ago1 watchersCompare

[ Source](https://github.com/GrandMasterX/skrill)[ Packagist](https://packagist.org/packages/grandmasterx/skrill)[ Docs](https://github.com/GrandMasterX/skrill)[ RSS](/packages/grandmasterx-skrill/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

PHP5 package for Skrill QuickCheckout interface
===============================================

[](#php5-package-for-skrill-quickcheckout-interface)

[![Latest Stable Version](https://camo.githubusercontent.com/3c99a88ad816988c5f78fe8e59a92967cb63231ff7b2575ebdaf30aa9b7e1993/68747470733a2f2f706f7365722e707567782e6f72672f6772616e646d6173746572782f7068702d736b72696c6c2d717569636b2d636865636b6f75742f762f737461626c65)](https://packagist.org/packages/grandmasterx/php-skrill-quick-checkout)[![Total Downloads](https://camo.githubusercontent.com/fee086b48b3ab98d2fa6c7b5e9b1025e69d5b80d2927976b961eec5de3ae4fae/68747470733a2f2f706f7365722e707567782e6f72672f6772616e646d6173746572782f7068702d736b72696c6c2d717569636b2d636865636b6f75742f646f776e6c6f616473)](https://packagist.org/packages/grandmasterx/php-skrill-quick-checkout)[![License](https://camo.githubusercontent.com/2965e21612ec4b7ebbc57ee3da28f6069f512d422cbe717cdd000a132291dc6e/68747470733a2f2f706f7365722e707567782e6f72672f6772616e646d6173746572782f7068702d736b72696c6c2d717569636b2d636865636b6f75742f6c6963656e7365)](https://packagist.org/packages/grandmasterx/php-skrill-quick-checkout)

Simple and useful PHP5 library to make payments via Skrill QuickCheckout interface

Containing:

- Payment model with each parameter description
- Payment form generator based on payment model
- Skrill status response model with signature verifier
- [Ips for whitelist](#IpsForWhitelist)

### Installation

[](#installation)

Add to your composer.json

```
"require": {
    "grandmasterx/skrill": "*"
}

```

And run

```
$ composer update
```

### Usage

[](#usage)

```
use grandmasterx\Skrill\Models\QuickCheckout;

$quickCheckout = new QuickCheckout([
    'pay_to_email' => 'mymoneybank@mail.com',
    'amount' => 100500,
    'currency' => 'EUR'
]);

/*
You can also use setters to bind parameters to model
If you want to see all list of parameters just open QuickCheckout file
Each class attribute has description
*/
$quickCheckout->setReturnUrl('https://my-domain.com');
$quickCheckout->setReturnUrlTarget(QuickCheckout::URL_TARGET_BLANK);
```

Build and render form

```
use grandmasterx\Skrill\Models\QuickCheckoutForm;

$form = new QuickCheckoutForm($quickCheckout);

echo $form->open([
    'class' => 'skrill-form'
]);

/*
By default all fields will be rendered as hidden inputs
If you need to render some field as visible (i.e. amount of payment) you should specify it in $exclude
Excluded fields will not be rendered at all - you should render them by yourself
*/
$exclude = ['amount'];
echo $form->renderHidden($exclude);
 .....
echo $form->renderSubmit('Pay', ['class' => 'btn']);
echo $form->close();
```

In your status\_url listener:

```
use grandmasterx\Skrill\Models\SkrillStatusResponse;
use grandmasterx\Skrill\Components\SkrillException;

try {
    $response = new SkrillStatusResponse($_POST);
} catch (SkrillException $e) {
    # something bad in request
}

/*
SkrillStatusResponse model contains attributes only for required Skrill response parameters
To get all of them use:
*/
$allParams = $response->getRaw();

if ($response->verifySignature('your Skrill secret word') && $response->isProcessed()) {
    # bingo! You need to return anything with 200 OK code! Otherwise, Skrill will retry request
}

# Or:

if ($response->isFailed()) {
    # Note that you should enable receiving failure code in Skrill account before
    # It will not provided with default settings
    $errorCode = $response->getFailedReasonCode();
}

/*
Also you can retrieve any Skrill response parameter and make extra validation you want.
To see all Skrill response parameters just view SkrillStatusResponse class attributes
For example:
*/
if ($response->getPayToEmail() !== 'mymoneybank@mail.com') {
    // hum, it's very strange ...
}

/* Also you can log Skrill response data using simple built-in logger */
$response->log('/path/to/writable/file');
```

### Information

[](#information)

- Based on Skrill API version - **7.4**
- [Skrill QuickCheckout documentation](https://www.skrill.com/fileadmin/content/pdf/Skrill_Quick_Checkout_Guide.pdf)
- Skrill test merchant email: ****
- Skrill test card numbers: VISA: **4000001234567890** | MASTERCARD: **5438311234567890** | AMEX: **371234500012340**
-  mqi: skrill123, secretword: skrill Fixed Payment Options (Fixed Split Gateway)
-  mqi: skrill123, secretword: skrill Flexible Payment Options (Flexible Split Gateway)
-  mqi: skrill123, secretword: skrill Fixed Payment Options (Fixed Split Gateway) with Reduced header option enabled.

Ips for whitelist
-------------------------------------------------------------

[](#ips-for-whitelist-)

### IP Range:

[](#ip-range)

- 91.208.28.0/24
- 93.191.174.0/24
- 193.105.47.0/24
- 195.69.173.0/24
- 91.208.28.0/24, 91.208.28.5, 91.208.28.6, 91.208.28.7, 91.208.28.8, 91.208.28.9
- 93.191.174.4, 93.191.174.5, 93.191.174.6, 93.191.174.7, 93.191.174.8, 93.191.174.9
- 193.105.47.4, 193.105.47.5, 193.105.47.6, 193.105.47.7, 193.105.47.8, 193.105.47.9 93.191.174.15 93.191.174.16 195.69.173.0/24

Supported ports:

- 80, 81, 82, 83, 88, 90, 178, 419, 433, 443, 444, 448, 451, 666, 800, 888, 1025, 1430, 1680, 1888, 1916, 1985, 2006, 2221, 3000, 4111, 4121, 4423, 4440, 4441, 4442, 4443, 4450, 4451, 4455, 4567, 5443, 5507, 5653, 5654, 5656, 5678, 6500, 7000, 7001, 7022, 7102, 7777, 7878, 8000, 8001, 8002, 8011, 8014, 8015, 8016, 8027, 8070, 8080, 8081, 8082, 8085, 8086, 8088, 8090, 8097, 8180, 8181, 8443, 8449, 8680, 8843, 8888, 8989, 9006, 9088, 9443, 9797, 10088, 10443, 12312, 18049, 18079, 18080, 18090, 18443, 20202, 20600, 20601, 20603, 20607, 20611, 21301, 22240, 26004, 27040, 28080, 30080, 37208, 37906, 40002, 40005, 40080, 50001, 60080, 60443

###  Health Score

28

—

LowBetter than 51% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

3410d ago

### Community

Maintainers

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

---

Tags

phpapiskrill

### Embed Badge

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

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

###  Alternatives

[jstolpe/instagram-graph-api-php-sdk

Instagram Graph API PHP SDK

138114.7k2](/packages/jstolpe-instagram-graph-api-php-sdk)

PHPackages © 2026

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