PHPackages                             erick/erede-acquiring - 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. erick/erede-acquiring

ActiveLibrary[API Development](/categories/api)

erick/erede-acquiring
=====================

E-Rede Acquiring PHP Library

v1.0.2(10y ago)020MITPHPPHP &gt;=5.3.3

Since Jun 12Pushed 9y ago1 watchersCompare

[ Source](https://github.com/erickmartim/erede-erick-123)[ Packagist](https://packagist.org/packages/erick/erede-acquiring)[ Docs](https://userede.com.br/)[ RSS](/packages/erick-erede-acquiring/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (5)Versions (5)Used By (0)

E-Rede Acquiring PHP Library
============================

[](#e-rede-acquiring-php-library)

A PHP client to use the E-Rede Acquiring Web Service.

[![Code Climate](https://camo.githubusercontent.com/66f612b4bc3ee13270da641a0ecdd392587984eed367ab62e8f02c750c918673/68747470733a2f2f636f6465636c696d6174652e636f6d2f7265706f732f3535346366636161363935363830323366363030373266342f6261646765732f33356133653466353837313430313730356636332f6770612e737667)](https://codeclimate.com/repos/554cfcaa69568023f60072f4/feed)[![Test Coverage](https://camo.githubusercontent.com/948c80e98a9491bf91f871a1c26e2be8b47c1f92900e914ff9423a7829ef41ae/68747470733a2f2f636f6465636c696d6174652e636f6d2f7265706f732f3535346366636161363935363830323366363030373266342f6261646765732f33356133653466353837313430313730356636332f636f7665726167652e737667)](https://codeclimate.com/repos/554cfcaa69568023f60072f4/coverage)[![wercker status](https://camo.githubusercontent.com/33883c9d97b3b39333528229eea70f896e8bfe8bfcbcf60eaea87a23a34cfcbd/68747470733a2f2f6170702e776572636b65722e636f6d2f7374617475732f36653839333536653239346432636664353664623138666632306435313965332f73 "wercker status")](https://app.wercker.com/project/bykey/6e89356e294d2cfd56db18ff20d519e3)

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

[](#requirements)

PHP 5.3.3 and later.

Composer
--------

[](#composer)

You can install the bindings via [Composer](http://getcomposer.org/). Add this to your `composer.json`:

```
{
  "require": {
    "rede/acquiring": "1.0.1"
  }
}
```

Then install via:

```
composer.phar install

```

To use the bindings, use Composer's [autoload](https://getcomposer.org/doc/00-intro.md#autoloading):

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

Manual Installation
-------------------

[](#manual-installation)

If you do not wish to use Composer, you can download the [latest release](https://github.com/hgflima/rede-acquiring/releases). Then, to use the bindings, include the `init.php` file.

```
require_once('/path/to/erede-acquiring/init.php');
```

Getting Started
---------------

[](#getting-started)

In order to increase the readability we suggest to declare the code below on the top of your file

```
use \ERede\Acquiring\Acquirer;
use \ERede\Acquiring\TransactionType;
```

20 seconds tutorial
-------------------

[](#20-seconds-tutorial)

The simplest way to do a payment using the E-Rede Acquiring Web Service is using this code

```
$data = array('credit_card' => '4242424242424242', 'exp_month' => 5, 'exp_year' => 2015, 'amount' => '1050', 'reference' => '1234', 'capture' => true);
$acquirer = new Acquirer("FILIATION", "PASSWORD");
$response = $acquirer->fetch(TransactionType::CREDIT)->authorize($data);
print_r($response);
```

Next steps
----------

[](#next-steps)

Find more details about how to use this library

- [Creating an authorization](https://github.com/hgflima/rede-acquiring/blob/master/docs/authorization.md)
- [Capturing the authorization](https://github.com/hgflima/rede-acquiring/blob/master/docs/capture.md)
- [Find a transaction](https://github.com/hgflima/rede-acquiring/blob/master/docs/find.md)
- [Cancelling a transaction](https://github.com/hgflima/rede-acquiring/blob/master/docs/cancel.md)

E-Rede Acquiring Web Service Documentation
------------------------------------------

[](#e-rede-acquiring-web-service-documentation)

Please see  for up-to-date documentation

Tests
-----

[](#tests)

In order to run tests first install [PHPUnit](http://packagist.org/packages/phpunit/phpunit) via [Composer](http://getcomposer.org/):

```
composer.phar update --dev

```

To run the test suite:

```
./vendor/bin/phpunit

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 94.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 ~16 days

Total

4

Last Release

3938d ago

Major Versions

v0.1-alpha → v1.02015-06-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/597903110d7bd5aa13a8bab10162ce89ef184ec35420024ff19bd309a44b55a8?d=identicon)[erickmartim](/maintainers/erickmartim)

---

Top Contributors

[![hgflima](https://avatars.githubusercontent.com/u/156596?v=4)](https://github.com/hgflima "hgflima (80 commits)")[![erickmartim](https://avatars.githubusercontent.com/u/15123622?v=4)](https://github.com/erickmartim "erickmartim (4 commits)")[![netojoaobatista](https://avatars.githubusercontent.com/u/273586?v=4)](https://github.com/netojoaobatista "netojoaobatista (1 commits)")

---

Tags

apipayment processinge-redeacquirer

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/erick-erede-acquiring/health.svg)

```
[![Health](https://phpackages.com/badges/erick-erede-acquiring/health.svg)](https://phpackages.com/packages/erick-erede-acquiring)
```

###  Alternatives

[ebanx/ebanx

EBANX PHP library

24648.5k](/packages/ebanx-ebanx)[pay-now/paynow-php-sdk

PHP client library for accessing Paynow API

18193.9k2](/packages/pay-now-paynow-php-sdk)[everypay/everypay-php

1742.0k](/packages/everypay-everypay-php)

PHPackages © 2026

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