avido/billink-api-php-client 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

avido/billink-api-php-client

Composer 安装命令:

composer require avido/billink-api-php-client

包简介

A PHP Client for the Billink API

README 文档

README

Build Status Latest Stable Version Total Downloads License

Billink API Client for PHP

Open source PHP client for the [Billink API] (https://test.billink.nl/api/docs | https://www.billink.nl/).

Installation

Get it with composer

Run the command:

composer require avido/billink-api-php-client

client initialization:

require __DIR__ . '/vendor/autoload.php';
use Avido\BillinkApiClient\BillinkClient;
use Monolog\Logger;
use Monolog\Handler\StreamHandler;

$username = '--YOUR USERNAME--';
$client_id = '--YOUR CLIENT ID--';
$log = new StreamHandler('billink.log', LOGGER::DEBUG);
$client = new BillinkClient($username, $client_id, [$log=null]);
// test mode true|false
$client->setTestMode(true);

Unit tests

<phpunit>
  ...
    <php>
        <env name="PHP_USERNAME" value="apitest"/>
        <env name="PHP_CLIENTID" value="d108a0f1bc5bc4618f150fa95cd6dc537bd774f0"/>
        <env name="API_WORKFLOW" value="1" />
        <env name="API_BACKDOOR" value="1" />
    </php>
</phpunit>

Examples

Go to examples folder and run php build in server

php -S 127.0.0.1:8081

统计信息

  • 总下载量: 444
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-06-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固