aleplusplus / soapclient-curl-php
使用Curl的Soap客户端
v1.0.1
2016-10-09 23:47 UTC
Requires
- php: >=5.4.0
- ext-curl: *
- ext-json: *
Requires (Dev)
- phpunit/phpunit: ~5.6
This package is not auto-updated.
Last update: 2024-10-02 08:21:40 UTC
README
安装
通过composer
$ composer require aleplusplus/soapclient-curl-php
示例
在SRI的SOAP服务器中使用SoapClientCurl\SoapClientRequest
use SoapClientCurl\SoapClientRequest; // Url Soap Server Example $url = '<SOAP_SERVER_URL>'; $body = '<SOAP_SCHEMA>'; $headers = array('Content-Type: text/xml; charset=utf-8', 'Content-Length: '.strlen($body)); $result = SoapClientRequest::send($url, $headers, $body); print_r($result);
更多详情请见 测试。