Download the PHP package zgabievi/laravel-bog-console without Composer

On this page you can find all versions of the php package zgabievi/laravel-bog-console. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-bog-console

Bank of Georgia Merchant Console OpenAPI Helper

Packagist Packagist license

Laravel BOG Console

Table of Contents

Installation

To get started, you need to install package:

If your Laravel version is older than 5.5, then add this to your service providers in config/app.php:

You can publish config file using this command:

This command will copy config file for you.

Usage

All of the responses are stdClasses. Errors are handled by laravel abort helper. Catch exceptions on your own, if you want to handle them.

Here are methods provided by this package:

Session

All requests related to the merchant console shall be made only by authorized users. To be authorized the operator shall enter a username and a password. The service checks the password validity and opens the session. Then all requests shall be sent within this session.

The merchant operator profile is created in the administrative console of the Service.

The requests to the Service can be sent by the merchant operator using the merchant console. Or by an external system on behalf of the merchant operator. The format of the requests and the rules for their processing are the same.

Session opening

Example $response:

Session termination

If there was no exception, it means the session terminated successfully.

Opening a session with a new password

Example $response:

Session extension

If there was no exception, it means the session lifetime extended.

Password change

If there was no exception, it means the session lifetime extended.

Desktop

Obtaining the information on turnover for the period

Example $response:

Obtaining data for charts

Example $response:

Obtaining transaction data

Obtaining the number of transactions

Example $response:

Obtaining the list of transactions

Example $response:

Obtaining the information about a single transaction

Example $response:

Completion of authorization

Example $response:

Money refund

Example $response:

Card verification history

Obtaining the size of the card verification list

Example $response:

Obtaining the card verification list

Example $response:

Obtaining the information about a single card verification operation

Example $response:

Card registration history

Obtaining the size of the card registration list

Example $response:

Obtaining the card registration list

Example $response:

Obtaining the information about a single card registration operation

Example $response:

Payment cards

Obtaining the information about a single card

Example $response:

Obtaining the size of the card list

Example $response:

Obtaining the card list

Example $response:

Card deactivation

If there was no exception, it means the session lifetime extended.

Environment Variables

Key Meaning Type Default
BOG_CONSOLE_PORTAL_ID Merchant portal id for requests string
BOG_CONSOLE_API_URL OpenAPI console url string https://mpi.gc.ge/open/api/v4/
BOG_CONSOLE_USERNAME OpenAPI console username string
BOG_CONSOLE_PASSWORD OpenAPI console password string

License

zgabievi/laravel-bog-console is licensed under a MIT License.


All versions of laravel-bog-console with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2|^8.0
illuminate/config Version ^6.0|^7.0|^8.0
illuminate/database Version ^6.0|^7.0|^8.0
illuminate/support Version ^6.0|^7.0|^8.0
bensampo/laravel-enum Version ^1.38|^3.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package zgabievi/laravel-bog-console contains the following files

Loading the files please wait ....