aleplusplus / soapclient-curl-php

SOAP client using Curl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SOAP client using Curl

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.

About

SOAP client using Curl

License:MIT License


Languages

Language:PHP 100.0%