PHP code example of psr18-adapter / ext-soap

1. Go to this page and download the library: Download psr18-adapter/ext-soap library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

psr18-adapter / ext-soap example snippets


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