Skip to content

PHP WDSL/Soap Client with NTLM Authentication for Microsoft Dynamics NAT Server.

License

Notifications You must be signed in to change notification settings

PeaceWorksTechnologySolutions/ntlm-soap-client

 
 

Repository files navigation

ntlm-soap-client

Latest Version on Packagist Software License Total Downloads

PHP WDSL/Soap Client with NTLM Authentication for Microsoft Dynamics NAT Server.

Install

Via Composer

$ composer require matejsvajger/ntlm-soap-client

Usage

$url = 'URL_TO_WEBSERVICE_WSDL';  // http and https are both supported
$config = new matejsvajger\NTLMSoap\Common\NTLMConfig([
    'domain'   => 'domain',
    'username' => 'username',
    'password' => 'password',

    // optionally pass curl options to be used
    // for example, to disable SSL verification when using self-signed certs
    'curlOptions' => array(
        CURLOPT_SSL_VERIFYPEER => false,
        CURLOPT_SSL_VERIFYHOST => false
    )
]);

$client = new matejsvajger\NTLMSoap\Client($url, $config);

$response = $client->ReadMultiple(['filter'=>[], 'setSize'=>1]);

foreach ($response->ReadMultiple_Result->CRMContactlist as $entity) {
    print_r($entity);
}

NOTE: NTLM Authentication string looks like <domain>/<username>:<password>. All three config items are required.

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

PHP WDSL/Soap Client with NTLM Authentication for Microsoft Dynamics NAT Server.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%