1. Go to this page and download the library: Download jeremylivingston/exfoliate 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/ */
jeremylivingston / exfoliate example snippets
use Exfoliate\SoapClient;
$client = new SoapClient('my-service-url', array('trace' => true));
$response = $client->call('GetUser', array('user_id' => 1234));
use Exfoliate\SoapClient;
$client = new SoapClient('my-service-url', array('trace' => true));
$client->setHeaders(
new \SoapHeader('my-namespace', 'Auth', array('User' => 'me', 'Password' => 'pw'))
);
$response = $client->call('GetUser', array('user_id' => 1234));