Via composer:
$ composer require aleplusplus/soapclient-curl-php
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.