bobospay / bobospay-php
Php sdk of Bobospay - Online payment solution by credit card and mobile money
Requires
- php: >=5.6
- ext-curl: *
- ext-json: *
- ext-openssl: *
Requires (Dev)
- phpunit/phpunit: ~4.0
README
The Bobospay PHP library provides convenient access to the Bobospay API from applications written in the PHP language. It includes a pre-defined set of classes for API resources that initialize themselves dynamically from API responses which makes it compatible with a wide range of versions of the Bobospay API.
You can sign up for a Bobospay account at https://bobospay.com.
Requirements
PHP 5.5 and later.
Composer
You can install the bindings via Composer. Run the following command:
composer require bobospay/bobospay-php
To use the bindings, use Composer's autoload:
require_once('vendor/autoload.php');
Manual Installation
If you do not wish to use Composer, you can download the latest release. Then, to use the bindings, include the init.php
file.
require_once('/path/to/bobospay-php/init.php');
Dependencies
The bindings require the following extension in order to work properly:
If you use Composer, these dependencies should be handled automatically. If you install manually, you'll want to make sure that these extensions are available.
Getting Started
Simple usage looks like:
Documentation
Please see https://docs.bobospay.com for up-to-date documentation.
Development
Install dependencies:
composer install