aleplusplus/soapclient-curl-php

Soap Client using Curl

v1.0.1 2016-10-09 23:47 UTC

This package is not auto-updated.

Last update: 2024-04-17 06:22:29 UTC


README

Packagist Downloads Build Status

Install:

Via composer:

$ composer require aleplusplus/soapclient-curl-php

Example:

Using the SoapClientCurl\SoapClientRequest in SOAP Server of SRI:

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);

For more detail see test.