PHPackages                             byjg/omnipay-komerci - 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. byjg/omnipay-komerci

ActiveLibrary[Payment Processing](/categories/payments)

byjg/omnipay-komerci
====================

Komerci is brazilian acquirer solution provided by Rede (former RedeCard) that accept payments with MasterCard, Visa and Diners Club International credit cards on the Internet

1.0.2(9y ago)32.4k15MITPHPPHP &gt;=5.4.0CI failing

Since Feb 18Pushed 6y ago2 watchersCompare

[ Source](https://github.com/byjg/omnipay-komerci)[ Packagist](https://packagist.org/packages/byjg/omnipay-komerci)[ RSS](/packages/byjg-omnipay-komerci/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (2)Versions (4)Used By (5)

Omnipay: Komerci WebServer ([Rede](https://www.userede.com.br))
===============================================================

[](#omnipay-komerci-webserver-rede)

[![Build Status](https://camo.githubusercontent.com/5d9dce74d10b43db3ba65293d4fa2c0b2dd7360256d5f18f4cd9c7527d8285b8/68747470733a2f2f7472617669732d63692e6f72672f62796a672f6f6d6e697061792d6b6f6d657263692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/byjg/omnipay-komerci)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/183b929b8aa7df096f95e9cea694367147c2347716eb87c6acbd2b188d4739e8/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62796a672f6f6d6e697061792d6b6f6d657263692f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/byjg/omnipay-komerci/?branch=master)[![SensioLabsInsight](https://camo.githubusercontent.com/9b44836f6a76affa0610ff275397ad097fa0c966e42ac1e9cbbeef0c8af392bc/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f35383134626633372d653361632d343233322d396335642d6665333034613334306538332f6d696e692e706e67)](https://insight.sensiolabs.com/projects/5814bf37-e3ac-4232-9c5d-fe304a340e83)[![Latest Stable Version](https://camo.githubusercontent.com/9793ddbe71cb5d5417e8a3c48d4b15d3d1e007a71073bdaaaa2bdb8fd178a92e/68747470733a2f2f706f7365722e707567782e6f72672f62796a672f6f6d6e697061792d6b6f6d657263692f762f737461626c65)](https://packagist.org/packages/byjg/omnipay-komerci)[![Total Downloads](https://camo.githubusercontent.com/f13128ad4fd8cdca5e3ad03815616db5d3b26bb0c342ebca6c97f8508a5ab0ad/68747470733a2f2f706f7365722e707567782e6f72672f62796a672f6f6d6e697061792d6b6f6d657263692f646f776e6c6f616473)](https://packagist.org/packages/byjg/omnipay-komerci)[![License](https://camo.githubusercontent.com/f075bd40c8b1a3c7ed969d34f1fe30b63baf7771a3ccf2353eb96d5a3ba4eb89/68747470733a2f2f706f7365722e707567782e6f72672f62796a672f6f6d6e697061792d6b6f6d657263692f6c6963656e7365)](https://packagist.org/packages/byjg/omnipay-komerci)

**Komerci WebService ([Rede](https://www.userede.com.br)) driver for the Omnipay PHP payment processing library**

[Omnipay](https://github.com/thephpleague/omnipay) is a framework agnostic, multi-gateway payment processing library for PHP 5.3+.

Installation
============

[](#installation)

Omnipay is installed via [Composer](http://getcomposer.org/). To install, simply add it to your `composer.json` file:

```
{
    "require": {
        "byjg/omnipay-komerci": "~1.0"
    }
}
```

And run composer to update your dependencies:

```
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update

```

Basic Usage
===========

[](#basic-usage)

The following gateways are provided by this package:

- Komerci (Rede)

Komerci is the solution for e-commerce from Rede (former Redecard). Rede is a Brazilian acquirer. This is responsible for the authentication, authorization and capture the card data in the Rede environment.

**NOTE**: Before using this driver is necessary to register the IP in the Komerci website. If your IP is not registered you'll get an error 500 or an error code 23 - "Transação não autorizada".

```
// Setup payment gateway
$gateway = Omnipay::create('Komerci');
$gateway->setApiKey('00000000');
$gateway->setUsername('user');
$gateway->setPassword('pass');
$gateway->setTestMode(true);

// Example form data
$formData = [
    'name' => 'Joao Magalhaes',
    'number' => '4242424242424242',
    'expiryMonth' => '6',
    'expiryYear' => '2016',
    'cvv' => '123'
];

// Send purchase request
$response = $gateway->purchase(
    [
        'amount' => '10.00',
        'transactionId' => '1234',
        'card' => $formData,
    ]
)->send();
```

Komerci have a test environment where the credicard will not be charged but you'll receive real messages for testing your system. Just use $gateway-&gt;setTestMode(true) for use the test environment.

For general usage instructions, please see the main [Omnipay](https://github.com/thephpleague/omnipay)repository.

Implemented methods

- authorize
- capture
- purchse
- void

Support
=======

[](#support)

If you are having general issues with Omnipay, we suggest posting on [Stack Overflow](http://stackoverflow.com/). Be sure to add the [omnipay tag](http://stackoverflow.com/questions/tagged/omnipay) so it can be easily found.

If you want to keep up to date with release anouncements, discuss ideas for the project, or ask more detailed questions, there is also a [mailing list](https://groups.google.com/forum/#!forum/omnipay) which you can subscribe to.

If you believe you have found a bug, please report it using the [GitHub issue tracker](https://github.com/thephpleague/omnipay-dummy/issues), or better yet, fork the library and submit a pull request.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 93.8% 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 ~221 days

Total

3

Last Release

3344d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/981924?v=4)[Joao Gilberto Magalhaes](/maintainers/byjg)[@byjg](https://github.com/byjg)

---

Top Contributors

[![byjg](https://avatars.githubusercontent.com/u/981924?v=4)](https://github.com/byjg "byjg (45 commits)")[![vanderson139](https://avatars.githubusercontent.com/u/10463966?v=4)](https://github.com/vanderson139 "vanderson139 (2 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

### Embed Badge

![Health badge](/badges/byjg-omnipay-komerci/health.svg)

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

###  Alternatives

[ignited/laravel-omnipay

Integrates Omnipay with Laravel and provides an easy configuration.

5211.1M12](/packages/ignited-laravel-omnipay)[omnipay/mollie

Mollie driver for the Omnipay payment processing library

631.8M10](/packages/omnipay-mollie)[silverstripe/silverstripe-omnipay

SilverStripe Omnipay Payment Module

38108.5k17](/packages/silverstripe-silverstripe-omnipay)

PHPackages © 2026

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