h2oundco / ntlm-soap-client
PHP WDSL/Soap Client with NTLM Authentication for Microsoft Dynamics NAT Server.
v1.2.0
2020-06-24 07:00 UTC
Requires
- php: >=5.6
- symfony/console: ^3.1 || ^4.0 || ~5.0
Requires (Dev)
- phpunit/phpunit: ~4.0 || ~5.0 || ~6.0 || ~7.0 || ~8.0
- squizlabs/php_codesniffer: ^2.3
This package is not auto-updated.
Last update: 2024-05-10 00:17:59 UTC
README
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'; $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.