承接 rocketfellows/soap-client-factory 相关项目开发

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

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

rocketfellows/soap-client-factory

最新稳定版本:v1.0.0

Composer 安装命令:

composer require rocketfellows/soap-client-factory

包简介

README 文档

README

Software License PHPStan Badge Code Coverage Badge

PHP SOAP client factory - is a wrapper around PHP SoapClient initialization. Initialization of the client when the create function is called, and not at the time of instantiation of the dependency.

More about PHP SoapClient here: https://www.php.net/manual/en/class.soapclient.php.

Installation.

composer require rocketfellows/soap-client-factory

Package details.

Component composition:

  • SoapClientFactory - factory for creating PHP SoapClient with given parameters.

SoapClientFactory functions:

  • public function create(string $wsdl, ?array $options = []): SoapClient - factory-function takes as parameters the string $wsdl (URI of the WSDL file or NULL if working in non-WSDL mode) and an optional array of parameters $options. More details about the parameters at https://www.php.net/manual/en/class.soapclient.php.

Throwable exceptions:

Usage example.

Create instance of SoapClientFactory and call create function with arguments for PHP SoapClient:

$client = (new SoapClientFactory())->create('test.wsdl');

Contributing.

Welcome to pull requests. If there is a major changes, first please open an issue for discussion.

Please make sure to update tests as appropriate.

统计信息

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

GitHub 信息

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

其他信息

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