承接 brightnucleus/jasper-client 相关项目开发

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

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

brightnucleus/jasper-client

Composer 安装命令:

composer require brightnucleus/jasper-client

包简介

SOAP client to interact with the Jasper Wireless Control Center.

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License

SOAP client to interact with the Jasper Wireless Control Center.

This library is not yet feature-complete and still a work-in-progress.

Table Of Contents

Installation

The best way to use this package is through Composer:

composer require brightnucleus/jasper-client

Basic Usage

The general usage is pretty simple. You fetch an instance of the client you need, and then call one of its methods, passing in the corresponding request value object to set the parameters.

Example:

use Brightucleus\JasperClient\EchoClient;
use Brightucleus\JasperClient\SoapTypes\EchoClient\EchoRequest;

$client = new EchoClient();
$result = $client->echo(new EchoRequest('Hello World!'));


echo $result->getValue(); // Output: 'Hello World!'

To find out how to configure a request, see the constructor in the corresponding request value object.

A specific request will always return the matching response, provided the request was successful.

If the request was unsuccessful, a SoapException will be thrown.

Running The Tests

To run the tests, you need to set environment variables, so that the test code knows how to connect to the correct Jasper environment.

export CISCO_JASPER_API_ENVIRONMENT=sandbox
export CISCO_JASPER_API_LICENSE_KEY=<your API license key>
export CISCO_JASPER_USERNAME=<login username>
export CISCO_JASPER_PASSWORD=<login password>
export CISCO_JASPER_TEST_ACCOUNT_ID=<test account ID>

Then you can run all the tests with the following command:

vendor/bin/phpunit

To run only a specific test suite, you can use the following command:

vendor/bin/phpunit --testsuite=<suites to test, separated with commas>

You can get a list of available test suites with the following command:

vendor/bin/phpunit --list-suites

Contributing

All feedback / bug reports / pull requests are welcome.

License

Copyright (c) 2017 Alain Schlesser, Bright Nucleus

This code is licensed under the MIT License.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-08-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固