2017 © Pedro Peláez
 

library platform-connector

platform connector generator for Webservices.nl

image

webservices-nl/platform-connector

platform connector generator for Webservices.nl

  • Tuesday, March 21, 2017
  • by kanariezwart
  • Repository
  • 5 Watchers
  • 2 Stars
  • 1,704 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 11 Versions
  • 4 % Grown

The README.md

Webservices Platform Connector

External checks

Scrutinizer Code Quality Code Coverage Build Status, (*1)

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

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., (*3)

Supported protocols

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

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., (*5)

XML-RPC

Scheduled to be released., (*6)

REST

Scheduled to be released., (*7)

Pre-requisites

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

Install

Please use composer to install this library. Or download the latest zip, (*8)

composer require webservices-nl/platform-connector, (*9)

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., (*10)

Unit test

This client is fully tested on PHP 5.6+ and 7+ To run tests:, (*11)

./vendor/bin phpunit, (*12)

Further information

Consult the online documentation. Any questions, remarks, bugs? Please mail us. - technical questions: tech@webservices.nl - support questions: mailto:support.webservices.nl, (*13)

The Versions

21/03 2017

dev-master

9999999-dev

platform connector generator for Webservices.nl

  Sources   Download

MIT

The Requires

 

The Development Requires

soap soapclient webservicesnl webservices.nl

21/03 2017

0.0

0.0.0.0

platform connector generator for Webservices.nl

  Sources   Download

MIT

The Requires

 

The Development Requires

soap soapclient webservicesnl webservices.nl

21/03 2017

0.0.9

0.0.9.0

platform connector generator for Webservices.nl

  Sources   Download

MIT

The Requires

 

The Development Requires

soap soapclient webservicesnl webservices.nl

03/03 2017

0.0.8

0.0.8.0

platform connector generator for Webservices.nl

  Sources   Download

MIT

The Requires

 

The Development Requires

soap soapclient webservicesnl webservices.nl

03/01 2017

0.0.7

0.0.7.0

platform connector generator for Webservices.nl

  Sources   Download

MIT

The Requires

 

The Development Requires

soap soapclient webservicesnl webservices.nl

25/08 2016

0.0.6

0.0.6.0

platform connector generator for Webservices.nl

  Sources   Download

MIT

The Requires

 

The Development Requires

soap soapclient webservicesnl webservices.nl

25/08 2016

0.0.5

0.0.5.0

platform connector generator for Webservices.nl

  Sources   Download

MIT

The Requires

 

The Development Requires

soap soapclient webservicesnl webservices.nl

26/05 2016

0.0.2

0.0.2.0

platform connector generator for Webservices.nl

  Sources   Download

MIT

The Requires

 

The Development Requires

soap soapclient webservicesnl webservices.nl

06/05 2016