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

ActiveLibrary

mirovit/borica-api
==================

Package that enables the communication with BORICA via their API

1.1(8y ago)246.8k15[1 issues](https://github.com/mirovit/borica-api/issues)MITPHP

Since Jan 30Pushed 8y ago5 watchersCompare

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

READMEChangelog (7)Dependencies (3)Versions (8)Used By (0)

BORICA API
==========

[](#borica-api)

This is a simple implementation of the BORICA API for adding payments with their service.

Instalation
===========

[](#instalation)

Pull from [Composer](https://getcomposer.org/):

```
composer require mirovit/borica-api

```

How to use
==========

[](#how-to-use)

One way would be to new up a version of `Mirovit\Borica\Factory`, which accepts `Mirovit\Borica\Request` and `Mirovit\Borica\Response` as constructor arguments. Or just use the the Request and Response classes individually.

The Request as its name suggests is responsible for generating the URLs for request to the Borica API - possible requests are: register transaction, check status of transaction, register delayed transaction request, complete a delayed transaction request, reverse delayed transaction request and reverse a partially or the full sum from a registered transaction.

```
