承接 dokobit/ws-api-sdk-php 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

dokobit/ws-api-sdk-php

最新稳定版本:2.1.0

Composer 安装命令:

composer require dokobit/ws-api-sdk-php

包简介

Client for Dokobit.com e-signature WS API

README 文档

README

Code Coverage Build Status

How to start?

Check integration tests under tests/Integration for library use cases.

Logging requests

Custom PSR-3 logger

use GuzzleHttp\Middleware; use GuzzleHttp\MessageFormatter; use Monolog\Logger; $log = Middleware::log(new Logger('requests'), new MessageFormatter(MessageFormatter::DEBUG)); $client = Dokobit\Client::create([ 'apiKey' => 'xxxxxx', 'sandbox' => true, ], $log); 

Read more:

http://www.php-fig.org/psr/psr-3/

https://github.com/Seldaek/monolog

Debugging

To dig more into occured error use following methods. A

echo (string) $exception->getMessage() echo (string) $exception->getPrevious()->getResponse() var_dump( $exception->getResponseData() ) 

Available on all exception classes except UnexpectedError and QueryValidator.

Develop

Whole testsuite including integrational tests

phpunit 

Don't forget to define SANDBOX_API_KEY in your phpunit.xml.

Running unit tests only:

phpunit --testsuite=Unit 

Running integrational tests only:

phpunit --testsuite=Integration 

Running single testcase:

phpunit tests/Integration/MobileSignTest.php 

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固