crossriverbank / crossriver-php
A PHP HTTP Client conforming to the HAL hypermedia type for the Crossriver processing API
1.0.2
2018-01-04 18:47 UTC
Requires
- php: >=5.4.0
- finix/processing-php: >=1.0.4
Requires (Dev)
- phpunit/phpunit: 4.0.*
This package is not auto-updated.
Last update: 2024-06-01 01:50:42 UTC
README
Requirements
PHP 5.4 and later.
Issues
Please use appropriately tagged github issues to request features or report bugs.
Composer
You can install the bindings via Composer. Run the following command:
composer require crossriverbank/crossriver-php
To use the bindings, use Composer's autoload:
require_once('vendor/autoload.php');
Getting Started
require('/path/to/Crossriver/Settings.php'); require('/path/to/Crossriver/Bootstrap.php'); use \Crossriver\Settings; use \Crossriver\Bootstrap; Settings::configure([ "root_url" => "https://api.sandbox.crb.finixpayments.com", "username" => "USq8mEqvcj1h5oKACLxBaR5N", "password" => "18288a65-3fec-481f-8cad-e924a31a0347" ]); Bootstrap::init();
See the tests for more details.
Running tests
./vendor/bin/phpunit
See circle.yml
for more details.