msurkov16/ntlm-soap-client

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

v1.0.4 2023-11-01 14:41 UTC

This package is auto-updated.

Last update: 2024-04-30 00:46:15 UTC


README

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 msurkov16/ntlm-soap-client

Usage

$url = 'URL_TO_WEBSERVICE_WSDL';
$config = new matejsvajger\NTLMSoap\Common\NTLMConfig([
    'domain'   => 'domain',
    'username' => 'username',
    'password' => 'password'
]);

$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 hello@matejsvajger.com instead of using the issue tracker.

Credits

License

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