-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from theiconic/add-initial-structure
Add initial project
- Loading branch information
Showing
7 changed files
with
2,953 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
## NTLM-SOAP | ||
|
||
- The purpose of this thin PHP library is to provide an easy and handy way to communicate with SOAP services that are using [NTLM](https://docs.microsoft.com/en-us/windows/desktop/secauthn/microsoft-ntlm) authentication protocol. | ||
|
||
|
||
### Example | ||
```php | ||
use TheIconic\NtlmSoap\Client\NtlmSoap; | ||
use GuzzleHttp\Client; | ||
|
||
$client = new Client(); | ||
|
||
$soapClient = new NtlmSoap( | ||
$client, | ||
'username', | ||
'password', | ||
'path-of-your-local-wsdl-file' | ||
); | ||
|
||
$response = $soapClient->soapMethod([ | ||
'methodParameter' => null, | ||
]); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"name": "theiconic/ntlm-soap", | ||
"type": "library", | ||
"authors": [ | ||
{ | ||
"name": "THE ICONIC Engineering Team", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"php": "~7.1", | ||
"ext-soap": "~7.1", | ||
"guzzlehttp/guzzle": "^6.3" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^6.0", | ||
"mockery/mockery": "~1.0", | ||
"spatie/phpunit-watcher": "^1.5" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"TheIconic\\NtlmSoap\\": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Test\\Unit\\TheIconic\\": "tests/unit" | ||
} | ||
}, | ||
"config": { | ||
"preferred-install": "dist", | ||
"optimize-autoloader": true | ||
} | ||
} |
Oops, something went wrong.