Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 712 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 712 Bytes

psr18-adapter/ext-soap

Install

Via Composer

composer require psr18-adapter/ext-soap

Usage

new \Psr18Adapter\Soap\SoapPsr18Client(
    $psr18Client, 
    $psr7RequestFactory, 
    $psr7StreamFactory, 
    $soapWsdl, 
    $soapOptions
);

Adapter relies on injected HTTP client following PSR-18 specification strictly: It expects HTTP client does not throw exception when server returns valid HTTP response. Otherwise I cannot guarantee same exception handling behaviour as in core extension.

Licensing

MIT license. Please see License File for more information.