everli/soldo-php-sdk
最新稳定版本:4.0.0
Composer 安装命令:
composer require everli/soldo-php-sdk
包简介
Unofficial PHP SDK to work with Soldo API
README 文档
README
An unofficial SDK to work with the Soldo API
Contacts
In case you're interested in using the Soldo API, please contact them so they can support you in integrating them in your existing system.
Prerequisites
- PHP 5.5 or above
- curl extension enabled
Usage
First of all instantiate a new Soldo object with your credentials:
require_once __DIR__ . '/vendor/autoload.php'; $soldo = new \Soldo\Soldo([ 'client_id' => 'Eu97aMWTV3ta9AchozCozGn15XiX6t5x', 'client_secret' => 'msNE5I1BnSkWBHPVRJDMYqKvTKRfCS4a', ]);
Examples
-
Configuration
-
Retrieve collections
-
Retrieve resource
-
Money transfer
-
Card rules
-
Webhooks
Tests
- Composer is a prerequisite for running the tests. Install composer globally, then run
composer installto install required files. - Create
tests/SoldoTestCredentials.phpfromtests/SoldoTestCredentials.php.distand edit it to add your demo environment credentials. - The tests can be executed by running this command from the root directory:
$ ./vendor/bin/phpunit
统计信息
- 总下载量: 25.97k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2020-07-17