2017 © Pedro Peláez
 

yii2-extension yii2-soap-client

SOAP Client Extension for Yii 2

image

mongosoft/yii2-soap-client

SOAP Client Extension for Yii 2

  • Thursday, April 23, 2015
  • by mongosoft
  • Repository
  • 4 Watchers
  • 29 Stars
  • 33,145 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 11 Forks
  • 5 Open issues
  • 2 Versions
  • 12 % Grown

The README.md

SOAP Client Extension for Yii 2

Note, PHP SOAP extension is required., (*1)

Latest Stable Version Total Downloads, (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

composer require --prefer-dist mongosoft/yii2-soap-client "*"

or add, (*5)

"mongosoft/yii2-soap-client": "*"

to the require section of your composer.json file., (*6)

Usage

You need to setup soap client application component:, (*7)

'components' => [
    'siteApi' => [
        'class' => 'mongosoft\soapclient\Client',
        'url' => 'http://myservice.com/api/hello',
        'options' => [
            'cache_wsdl' => WSDL_CACHE_NONE,
        ],
    ]
    ...
]

or define the client directly in the code:, (*8)

$client = new \mongosoft\soapclient\Client([
    'url' => 'http://myservice.com/api/hello',
]);

Example of calling the SOAP function:, (*9)

$client = Yii::$app->siteApi;
echo $client->getHello('Alex');

The Versions

23/04 2015

dev-master

9999999-dev https://github.com/mongosoft/yii2-soap-client

SOAP Client Extension for Yii 2

  Sources   Download

BSD-3-Clause

The Requires

 

by Alexander Mohorev

extension yii2 soap consumer

10/02 2015

0.1.0

0.1.0.0 https://github.com/mongosoft/yii2-soap-client

SOAP Client Extension for Yii 2

  Sources   Download

BSD-3-Clause

The Requires

 

by Alexander Mohorev

extension yii2 soap consumer