承接 pfm_webservices_nl/platform-connector 相关项目开发

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

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

pfm_webservices_nl/platform-connector

最新稳定版本:0.0.6

Composer 安装命令:

composer require pfm_webservices_nl/platform-connector

包简介

platform connector generator for Webservices.nl

README 文档

README

External checks

Scrutinizer Code Quality Code Coverage Build Status

This factory abstracts protocol specific's implementations for connecting to the Webservices.nl API. Providing an unified service layer independent of protocol.

The purpose of this library is to connect to any of the Webservices.nl API's (platforms) in a uniform way. Regardless of transport protocol it ships a proxy class for type hinted function calls to Webservices.nl function calls.

Supported protocols

Webservices.nl support multiple protocols for connecting. Soap, XML-RPC, HTTP-RPC/REST. This library has support for multiple transfer protocols.

Soap

This library ships a SoapClient that extends the native PHP SoapClient with a curl client for better timeout management. Also converts native PHP SoapFault into custom platform exceptions where possible.

XML-RPC

Scheduled to be released.

REST

Scheduled to be released.

Pre-requisites

  • PHP 5.6<=
  • composer
  • PSR-log LoggerInterface (optional)

Install

Please use composer to install this library. Or download the latest zip

composer require webservices-nl/platform-connector

Usage

 
 // Instantiate a ConnectorFactory with your given Webservices.nl credentials.
 $factory = ConnectorFactory::build(
  [
    'username' => 'myusername',
    'password' => 'secret'
  ],
  LoggerInterface (optional)
 );
 
 // build a client
 $client = $factory->create('soap', 'webservices');
 
 // make type hinted function calls to any of the Webservices.nl API's
 $response = $client->accountEditV2();

All parameters are expected to be in UTF-8 encoding, output is in UTF-8 as well.

Unit test

This client is fully tested on PHP 5.6+ and 7+ To run tests:

./vendor/bin phpunit

Further information

Consult the online documentation. Any questions, remarks, bugs? Please mail us.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-08-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固