定制 pokepay/partner-php-sdk 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

pokepay/partner-php-sdk

最新稳定版本:0.4.27

Composer 安装命令:

composer require pokepay/partner-php-sdk

包简介

Pokepay Partner API SDK for PHP

README 文档

README

Prerequisites

  • PHP 5.6 or above
  • curl, json and openssl extensions

Installation with Composer

Install Composer if not already installed.

composer.json settings

Install this SDK by executing composer require pokepay/partner-php-sdk on your shell.

$ composer require pokepay/partner-php-sdk

Configuration

Client credentials have to be set before attempting API requests. Pokepay\PartnerAPI takes the location of a configuration INI file as an argument.

$client = new Pokepay\PartnerAPI('./config.ini');

If it's not given, the file location is set from an environment variable POKEPAY_PARTNER_CONFIG_FILE.

Running tests

$ POKEPAY_PARTNER_CONFIG_FILE=/path/to/config.ini ./vendor/phpunit/phpunit/phpunit

Documentation

See docs/.

Copyright

Copyright (c) 2019 Pocket Change, Inc.

统计信息

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

GitHub 信息

  • Stars: 5
  • Watchers: 9
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-08-28