nowcerts/nowcerts-php-sdk 问题修复 & 功能扩展

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

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

nowcerts/nowcerts-php-sdk

Composer 安装命令:

composer require nowcerts/nowcerts-php-sdk

包简介

The PHP SDK for the NowCerts API

README 文档

README

For API documentation see https://api.nowcerts.com.
For a live demo see http://test.api.nowcerts.com.

Getting Started

composer require nowcerts/nowcerts-php-sdk Then add the following to your PHP script:

require_once 'vendor/autoload.php';

Running Tests

Only HttpClientTest.php can be executed without elevated API privileges. Contact info@nowcerts.com and request a demo username and password. If a username and password are obtained then create a bootstrap file such as the following:

<?php
$api_username = "username";
$api_password = "password";
require("vendor/autoload.php");

Either way install dev dependencies with composer --dev install. Run PHPUnit: vendor/bin/phpunit --verbose --bootstrap path/to/bootstrap.php tests/Client.php Replace "tests/Client.php" with simply "tests" if you obtained API credentials.
Many tests are failing because not enough is known about how the API works to construct working tests. Pull requests that fix tests are welcome.

Contributing

Submit issues and pull requests at https://github.com/NowCerts/NowCerts-PHP-SDK/issues and https://github.com/NowCerts/NowCerts-PHP-SDK/pulls respectively.

Help is wanted for fixing tests that are broken as a result of a lack of information about how to use the API.

License

See the license file.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-03-27