bpi / sdk
This package is abandoned and no longer maintained.
No replacement package was suggested.
There is no license information available for the latest version (4.2.4) of this package.
BPI SDK.
4.2.4
2023-07-04 09:14 UTC
Requires
- php: ^7 || ^8
- guzzlehttp/guzzle: ^7
Requires (Dev)
- phpunit/phpunit: ^5.7
This package is auto-updated.
Last update: 2025-11-04 14:15:31 UTC
README
Install dependencies (skipping dev dependencies):
composer install --no-dev
Usage
<?php
include_once __DIR__ . '/vendor/autoload.php';
include_once __DIR__ . '/Bpi/Sdk/Bpi.php';
$bpi = new Bpi(…);
$nodes = $bpi->searchNodes([]);
…
Running tests
Install dev dependencies:
composer install
Run all unit tests:
./vendor/bin/phpunit
Run web service tests:
BPI_WS_ENDPOINT=http://bpi-web-service.vm BPI_WS_AGENCY_ID=200100 BPI_WS_API_KEY=98c645c7e2882e7431037caa75ca5134 BPI_WS_SECRET_KEY=90eb05e4fbc327d3f455fb7576c493d3872fca7f ./vendor/bin/phpunit --stop-on-failure Tests/WebService/