PHPackages                             eccore/omnipay-saferpay - 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. eccore/omnipay-saferpay

ActiveOmnipay-gateway[Payment Processing](/categories/payments)

eccore/omnipay-saferpay
=======================

Saferpay payment gateway for omnipay

1.x-dev(11y ago)12472UnlicensePHPPHP &gt;=5.3.2

Since Oct 6Pushed 10y ago1 watchersCompare

[ Source](https://github.com/eccore/omnipay-saferpay)[ Packagist](https://packagist.org/packages/eccore/omnipay-saferpay)[ RSS](/packages/eccore-omnipay-saferpay/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (7)Versions (3)Used By (0)

Saferpay Omnipay gateway
========================

[](#saferpay-omnipay-gateway)

[![Build Status](https://camo.githubusercontent.com/c03dfc81c412ff27d314f95403a2803eb8de8e7099b93fa3dffbf09e4074912c/68747470733a2f2f7472617669732d63692e6f72672f69736d61696c617363692f6f6d6e697061792d73616665727061792e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/ismailasci/omnipay-saferpay)[![Total Downloads](https://camo.githubusercontent.com/e431df432e09eb32a17b3424ff439ca0488c38fa4f7a58292e9c2673e9263fa5/68747470733a2f2f706f7365722e707567782e6f72672f617363692f6f6d6e697061792d73616665727061792f646f776e6c6f6164732e706e67)](https://packagist.org/packages/asci/omnipay-saferpay)

[Saferpay](http://saferpay.com/) gateway for awesome [Omnipay](https://github.com/adrianmacneil/omnipay) library.

> > Warning: Only works with omnipay 2.\* versions only!

#### Installation

[](#installation)

To install, simply add it to your composer.json file:

```
{
    "require": {
        "eccore/omnipay-saferpay": "dev-master"
    }
}
```

and run `composer update`

#### Usage

[](#usage)

**1. Authorize**

```
$gateway = new \Asci\Omnipay\SaferPay\Gateway();
$gateway->initialize(array(
    'accountId' => 'your_account_id',
    'testMode' => true,
));

$response = $gateway->authorize(array(
    'amount' => 199.00,
    'description' => 'Google Nexus 4',
))->send();

if ($response->isRedirect()) {
    // redirect to offsite payment gateway
    $response->redirect();
} else {
    // payment failed: display message to customer
    echo $response->getMessage();
}
```

**2. Complete Authorize**

```
$gateway = new \Asci\Omnipay\SaferPay\Gateway();
$gateway->initialize(array(
    'accountId' => 'your_account_id',
    'testMode' => true,
));

$response = $gateway->completeAuthorize()->send();

if ($response->isSuccessful()) {
    // payment was successful
    print_r($response);
} else {
    // payment failed: display message to customer
    echo $response->getMessage();
}
```

**3. Capture**

```
$gateway = new \Asci\Omnipay\SaferPay\Gateway();
$gateway->initialize(array(
    'accountId' => 'your_account_id',
    'testMode' => true,
));

$response = $gateway->capture()->send();

if ($response->isSuccessful()) {
    // payment was successful
    print_r($response);
} else {
    // payment failed: display message to customer
    echo $response->getMessage();
}
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

4234d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/90c682369d071bf5c7a394794642855d285ad69d1a031b61134a165ea8bbdd37?d=identicon)[eccore](/maintainers/eccore)

---

Top Contributors

[![iasci](https://avatars.githubusercontent.com/u/5040414?v=4)](https://github.com/iasci "iasci (7 commits)")[![eccore](https://avatars.githubusercontent.com/u/3885091?v=4)](https://github.com/eccore "eccore (5 commits)")[![nocive](https://avatars.githubusercontent.com/u/651121?v=4)](https://github.com/nocive "nocive (4 commits)")[![bamarni](https://avatars.githubusercontent.com/u/1205386?v=4)](https://github.com/bamarni "bamarni (3 commits)")

---

Tags

providerpaymentgatewayomnipaysaferpay

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/eccore-omnipay-saferpay/health.svg)

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

###  Alternatives

[lokielse/omnipay-alipay

Alipay gateway for Omnipay payment processing library

587421.0k11](/packages/lokielse-omnipay-alipay)[asci/omnipay-sofort

SOFORT Überweisung gateway for Omnipay payment processing library

20127.5k](/packages/asci-omnipay-sofort)[sudiptpa/omnipay-nabtransact

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

1017.2k](/packages/sudiptpa-omnipay-nabtransact)[lucassmacedo/omnipay-mercadopago

MercadoPago gateway for OmniPay

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

PHPackages © 2026

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