PHPackages                             descom/omnipay-redsys - 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. descom/omnipay-redsys

ActiveLibrary

descom/omnipay-redsys
=====================

Redsys driver for Omnipay

v1.5.0(1y ago)04.4k↓33.3%21MITPHPPHP ^8.3CI passing

Since Sep 9Pushed 1y agoCompare

[ Source](https://github.com/descom-es/omnipay-redsys)[ Packagist](https://packagist.org/packages/descom/omnipay-redsys)[ RSS](/packages/descom-omnipay-redsys/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (9)Versions (16)Used By (1)

Omnipay:: Redsys
================

[](#omnipay-redsys)

Redsys driver for Omnipay

[![tests](https://github.com/descom-es/omnipay-redsys/actions/workflows/tests.yml/badge.svg)](https://github.com/descom-es/omnipay-redsys/actions/workflows/tests.yml)[![analyse](https://github.com/descom-es/omnipay-redsys/actions/workflows/analyse.yml/badge.svg)](https://github.com/descom-es/omnipay-redsys/actions/workflows/analyse.yml)[![style-fix](https://github.com/descom-es/omnipay-redsys/actions/workflows/style-fix.yml/badge.svg)](https://github.com/descom-es/omnipay-redsys/actions/workflows/style-fix.yml)

Instalation
-----------

[](#instalation)

```
composer require descom/omnipay-redsys
```

Basic Usage
-----------

[](#basic-usage)

### Create purchase request

[](#create-purchase-request)

```
use Omnipay\Omnipay;

$gateway = Omnipay::create('Redsys');

$gateway->initialize([
    'merchantCode' => '999008881',
    'merchantTerminal' => '1',
    'merchantSignatureKey' => 'sq7HjrUOBfKmC576ILgskD5srU870gJ7',
    'testMode' => true,
]);

$request = $gateway->purchase([
                'amount' => 12.50,
                'description' => 'Test purchase',
                'transactionId' => 1,
                'notifyUrl' => 'http://localhost:8080/gateway/notify',
            ])->send();

$response->redirect();
```

### Create purchase request with Bizum

[](#create-purchase-request-with-bizum)

```
use Omnipay\Omnipay;

$gateway = Omnipay::create('Bizum');

$gateway->initialize([
    'merchantCode' => '999008881',
    'merchantTerminal' => '1',
    'merchantSignatureKey' => 'sq7HjrUOBfKmC576ILgskD5srU870gJ7',
    'testMode' => true,
    'merchantPaymethods' => 'z',
]);

$request = $gateway->purchase([
                'amount' => 12.50,
                'description' => 'Test purchase',
                'transactionId' => 1,
                'notifyUrl' => 'http://localhost:8080/gateway/notify',
            ])->send();

$response->redirect();
```

### Complete purchase request

[](#complete-purchase-request)

```
use Omnipay\Omnipay;

$gateway = Omnipay::create('Redsys');

$gateway->initialize([
    'merchantCode' => '999008881',
    'merchantTerminal' => '1',
    'merchantSignatureKey' => 'sq7HjrUOBfKmC576ILgskD5srU870gJ7',
    'testMode' => true,
]);

$request = $this->gateway->completePurchase();

/*
Redsys notification payment
$_POST = [
    'Ds_SignatureVersion' => 'HMAC_SHA256_V1',
    'Ds_MerchantParameters' => '...',
    'Ds_Signature' => '...',
];
*/
$redsysNotificationData = $_POST;

$response = $request->sendData($redsysNotificationData);

if ($response->isSuccessful()) {
    // $dsOrder = $response->transactionId();
    // $dsAuthorizationCode = $response->transactionReference();
}  else {
    // $dsResponse = $response->getCode();
}
```

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance47

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 51.1% 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 ~134 days

Recently: every ~178 days

Total

8

Last Release

397d ago

PHP version history (3 changes)v1.0.0PHP ^8.0

v1.3.0PHP ^8.2

v1.5.0PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/4b55eee54720c049e8270abcff6e8f0d9412aedc136b0228bf45ca3f7aaea6df?d=identicon)[cesargb](/maintainers/cesargb)

---

Top Contributors

[![cesargb](https://avatars.githubusercontent.com/u/25681494?v=4)](https://github.com/cesargb "cesargb (23 commits)")[![llorensjj](https://avatars.githubusercontent.com/u/7073372?v=4)](https://github.com/llorensjj "llorensjj (21 commits)")[![crodgdev18](https://avatars.githubusercontent.com/u/254655457?v=4)](https://github.com/crodgdev18 "crodgdev18 (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/descom-omnipay-redsys/health.svg)

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k20](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[omnipay/payfast

PayFast driver for the Omnipay payment processing library

24626.9k3](/packages/omnipay-payfast)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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