matejsvajger / ntlm-soap-client
PHP WDSL/Soap Client with NTLM Authentication for Microsoft Dynamics NAT Server.
Installs: 56 919
Dependents: 0
Suggesters: 0
Security: 0
Stars: 13
Watchers: 3
Forks: 31
Open Issues: 7
Requires
- php: ~5.6|~7.0
- symfony/console: ^3.1
Requires (Dev)
- phpunit/phpunit: ~4.0||~5.0
- squizlabs/php_codesniffer: ^2.3
This package is auto-updated.
Last update: 2024-11-09 14:50:29 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.