PHP code example of jamesiarmes / php-ntlm

1. Go to this page and download the library: Download jamesiarmes/php-ntlm 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/ */

    

jamesiarmes / php-ntlm example snippets


$client = new SoapClient(
    $wsdl,
    array('user' => 'username', 'password' => '12345')
);

$client = new SoapClient(
    $wsdl,
    array(
        'user' => 'username',
        'password' => '12345',
        'curlopts' => array(CURLOPT_SSL_VERIFYPEER => false),
    )
);