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.
PHP 5.5 and later.
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');
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');
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.
Simple usage looks like:
Please see https://docs.bobospay.com for up-to-date documentation.
Install dependencies:
composer install