sebudesign / php-ntlm-soap
Composer based package of https://blogs.msdn.microsoft.com/freddyk/2010/01/19/connecting-to-nav-web-services-from-php/
Installs: 57 684
Dependents: 0
Suggesters: 0
Security: 0
Stars: 11
Watchers: 1
Forks: 4
Open Issues: 1
Requires
- php: >=5.5.9
- ext-soap: *
Requires (Dev)
- mockery/mockery: ~0.9
- phpunit/phpunit: ~4.0
- vlucas/phpdotenv: ^2.4
This package is not auto-updated.
Last update: 2024-11-13 05:26:27 UTC
README
A composer package based on this article https://blogs.msdn.microsoft.com/freddyk/2010/01/19/connecting-to-nav-web-services-from-php/
Usage
<?php namespace App\Services; use SeBuDesign\NtlmSoap\Client; class PetsService { public function getPetTypes() { $client = new Client( 'http://my.pets.com/WS_Pet_types', // Endpoint of the call 'PetService\Username', // NTLM username 'pa55w0rd' // NTLM password ); $response = $client->ReadMultiple(['filter' => null]); // Call the ReadMultiple Soap call with filter parameter var_dump($response); // All pet types die(); } }