承接 nox-it/yii2-soap-client 相关项目开发

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

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

nox-it/yii2-soap-client

最新稳定版本:2.0.0

Composer 安装命令:

composer require nox-it/yii2-soap-client

包简介

Yii2 HTTP SOAP Client

README 文档

README

Yii2 component for SOAP requests.

Latest Stable Version Total Downloads Latest Unstable Version License Monthly Downloads Daily Downloads composer.lock

Installation

The preferred way to install this extension is through composer.

  • Either run
php composer.phar require --prefer-dist "nyx-solutions/yii2-soap-client" "*"

or add

"nyx-solutions/yii2-soap-client": "*"

to the require section of your application's composer.json file.

Usage

  • Configure the HttpSoapClient component in your application's configuration file, for example:
'components' => [
    'soapApi' => [
        'class'    => 'nyx\http\soap\HttpSoapClient',
        'endpoint' => 'http://ws.exemple.com/WebService.asmx?wsdl',
        'options'  => [
            'cache_wsdl' => WSDL_CACHE_NONE
        ]
    ]
]

Or you can define the HttpSoapClient directly in your code:

use nyx\http\soap\HttpSoapClient;

$client = new HttpSoapClient(['endpoint' => 'http://ws.exemple.com/WebService.asmx?wsdl']);

After the configuration step is compleate, you can call the SOAP methods as follow (where getMessage is your SOAP method):

echo $client->getMessage('Lorem ipsum...');

License

yii2-soap-client is released under the BSD 3-Clause License. See the bundled LICENSE.md for details.

Yii2

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2017-02-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固