PHPackages                             escapeboy/borica - 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. escapeboy/borica

ActiveLibrary[Payment Processing](/categories/payments)

escapeboy/borica
================

Borica payment package

1.0.0(8y ago)2201MITPHPPHP &gt;=5.3.0

Since Feb 25Pushed 8y ago1 watchersCompare

[ Source](https://github.com/escapeboy/borica)[ Packagist](https://packagist.org/packages/escapeboy/borica)[ RSS](/packages/escapeboy-borica/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

Laravel Borica Package
----------------------

[](#laravel-borica-package)

All kudos goes to original author Please star it! I only ported it for easy integration with Laravel.

### Installation

[](#installation)

```
composer require escapeboy/borica

```

This package works with auto-discovery. For Laravel &lt;5.5 you should register it manually:

```
//config/app.php
Borica\ServiceProvider::class,

```

Publish package config

```
php artisan vendor:publish --provider="Borica\BoricaServiceProvider"

```

Usage
-----

[](#usage)

```
$borica = new \Borica\Factory();

```

### Registering of a transaction

[](#registering-of-a-transaction)

```
$borica->request()
        ->amount('1') // 1 EUR
        ->orderID(1) // Unique identifier in your system
        ->description('testing the process') // Short description of the purchase (up to 125 chars)
        ->currency('EUR') // The currency of the payment
        ->register(); // Type of the request

```

### Check status of a transaction

[](#check-status-of-a-transaction)

```
$factory->request()
        ->amount('1') // 1 EUR
        ->orderID(1) // Unique identifier in your system
        ->description('testing the process') // Short description of the purchase (up to 125 chars)
        ->currency('EUR') // The currency of the payment
        ->status(); // Type of the request

```

### Reverse a transaction

[](#reverse-a-transaction)

```
$factory->request()
        ->amount('1') // 1 EUR - partial reversal (amount less than the original), full reversal the original amount
        ->orderID(1) // Unique identifier in your system
        ->reverse(); // Type of the request

```

### Parse response

[](#parse-response)

```
$borica = new \Borica\Factory();
$borica = $borica->response($request->eBorica);
//Methods
$borica->transactionCode();
$borica->transactionTime();
$borica->amount();
$borica->terminalID();
$borica->orderID();
$borica->notSuccessful();
$borica->isSuccessful();
$borica->responseCode();

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~6 days

Total

2

Last Release

2992d ago

Major Versions

0.1.0 → 1.0.02018-03-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/65ef8df08f1932ef79020d023bbf1853ae320e4d93061a318bd8e321525d6528?d=identicon)[escapeboy](/maintainers/escapeboy)

---

Top Contributors

[![escapeboy](https://avatars.githubusercontent.com/u/115266?v=4)](https://github.com/escapeboy "escapeboy (7 commits)")

---

Tags

laravelpaymentborica

### Embed Badge

![Health badge](/badges/escapeboy-borica/health.svg)

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

###  Alternatives

[sebdesign/laravel-viva-payments

A Laravel package for integrating the Viva Payments gateway

4845.9k](/packages/sebdesign-laravel-viva-payments)[henryejemuta/laravel-monnify

A laravel package to seamlessly integrate monnify api within your laravel application

132.1k](/packages/henryejemuta-laravel-monnify)[dena-a/iran-payment

a Laravel package to handle Internet Payment Gateways for Iran Banking System

312.4k1](/packages/dena-a-iran-payment)

PHPackages © 2026

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