Skip to content

Commit

Permalink
Merge pull request #1 from theiconic/add-initial-structure
Browse files Browse the repository at this point in the history
Add initial project
  • Loading branch information
brayansdt authored Aug 21, 2018
2 parents de18cda + 1a7ea6a commit 0800eed
Show file tree
Hide file tree
Showing 7 changed files with 2,953 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
composer.phar
/vendor/
.idea
.DS_Store
tests/_reports

# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
Expand Down
23 changes: 23 additions & 0 deletions README.md
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,
]);
```
34 changes: 34 additions & 0 deletions composer.json
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
}
}
Loading

0 comments on commit 0800eed

Please sign in to comment.