The SecureSoapClient class is an extension of the native PHP SoapClient that uses cURL to make requests.
This ensures that any requests over https are actually secure by default.
The class otherwise acts in exactly the same way as the native SoapClient.
- PHP 5.3 or higher
- cURL (tested on 7.21.7)
Just add the following to the require section of your composer.json file
"require": {
//...
"hades200082/secure-soap-client": "1.0.0",
//...
}
This will install the version 1.0.0 tag. If you want the very latest bleeding edge version change "1.0.0"
to dev-master
Download the SecureSoapClient.php file from the repository and include it in your project.
You just instantiate this class instead.
$SoapClient = new \alc\SecureSoapClient($wsdl, $wsdl_cache_dir, $options);
Then use it just like the native PHP SoapClient
class.
If you can fix it, please do. Submit a pull request with your fix and phpunit tests that identify the bug.
If you can't fix it (or don't want to right now) please submit an issue report here on GitHub.
If you want to help improve this please submit a pull request.