2017 © Pedro Peláez
 

library easy-soapclient

Lib for SoapClient

image

easy-soapclient/easy-soapclient

Lib for SoapClient

  • Tuesday, April 4, 2017
  • by thomas-matheus
  • Repository
  • 1 Watchers
  • 0 Stars
  • 22 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Easy SoapClient

Build Status Scrutinizer Code Quality Code Coverage Codacy Badge Latest Stable Version License
SensioLabsInsight, (*1)


This is a simple library for consuming webservices soap., (*2)

Install

  composer require easy-soapclient/easy-soapclient

Usage

Simple usage

  use EasySoapClient\Client;
  use EasySoapClient\Configuration;

  $url = 'http://my-webservice.com/webservice.php?WSDL';

  $config = new Configuration($url);
  $result = (new Client($config))->getClient();

  print_r($result->webServiceMethodBar('foo'));
  print_r($result->webServiceMethodFoo('bar', 'foo'));

Usage with Proxy

  use EasySoapClient\Client;
  use EasySoapClient\Configuration;
  use EasySoapClient\ProxyOptions;

  $url = 'http://my-webservice.com/webservice.php?WSDL';
  $proxy = new ProxyOptions('your-proxy-host', 3120, 'user', 'password');

  $config = new Configuration($url, $proxy);
  $result = (new Client($config))->getClient();

  print_r($result->webServiceMethodFoo('foo'));
  print_r($result->webServiceMethodBar('bar', 'foo'));

Usage with Auth

  use EasySoapClient\Client;
  use EasySoapClient\Configuration;
  use EasySoapClient\AuthOptions;

  $url = 'http://my-webservice.com/webservice.php?WSDL';
  $auth = new AuthOptions('user', 'password');

  $config = new Configuration($url, null, $auth);
  $result = (new Client($config))->getClient();

  print_r($result->webServiceMethodFoo('foo'));
  print_r($result->webServiceMethodBar('bar', 'foo'));

License

The MIT License (MIT). Please see License File for more information., (*3)

The Versions

04/04 2017

dev-master

9999999-dev https://github.com/Thomas-Matheus/easy-soapclient

Lib for SoapClient

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Thomas Matheus

soap soapclient soap client

04/04 2017

v1.2.0

1.2.0.0 https://github.com/Thomas-Matheus/easy-soapclient

Lib for SoapClient

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Thomas Matheus

soap soapclient soap client

27/03 2017

v1.1.0

1.1.0.0 https://github.com/Thomas-Matheus/easy-soapclient

Lib for SoapClient

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Thomas Matheus

soap soapclient soap client

23/03 2017

v1.0.0

1.0.0.0 https://github.com/Thomas-Matheus/easy-soapclient

Lib for SoapClient

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Thomas Matheus

soap soapclient soap client