Download the PHP package capdigital/ntlmsoapclient without Composer
On this page you can find all versions of the php package capdigital/ntlmsoapclient. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download capdigital/ntlmsoapclient
More information about capdigital/ntlmsoapclient
Files in capdigital/ntlmsoapclient
Package ntlmsoapclient
Short Description NTLM Soap Client
License Apache-2.0
Homepage https://github.com/capdigital/NTLMSoapClient
Informations about the package ntlmsoapclient
NTLMSoapClient
Installation par composer :
composer require capdigital/ntlmsoapclient
Configuration si symfony-receip ne fonctionne pas :
1) Activer l'analyse du fichier de configuration en allant dans /config/bundles.php et intégrer la ligne :
Capdigital\NtlmSoapClient\CapdigitalNTLMSoapClient::class => ['all' => true]
2) Créer le fichier de configuration dans /config/packages/capdigital_ntlm_soap_client.yaml contenant :
capdigital_ntlm_soap_client:
url: "http://xxx.xxx.xxx.xxx"
port: "xxxx"
server: "SERVER_NAME"
society: "SOCIETY_NAME"
user: "DOMAINE\USER"
password: "PASSWORD"
3) Utilisation du service dans un controller :
use Capdigital\NtlmSoapClient\Service\CapdigitalNtlmSoapClient as serviceNtlmSoapClient;
class maClass
{
mafonction(serviceNtlmSoapClient $serviceNtlmSoapClient)
{
$service = $serviceNtlmSoapClient->connect($wsName, $deleteSociety = true);
ou
$service = $serviceNtlmSoapClient->connect($wsName);
}
}
4) Exemple :
mafonction(serviceNtlmSoapClient $serviceNtlmSoapClient)
{
$service = $serviceNtlmSoapClient->connect('SystemService', $deleteSociety = true);
$result = $client->Companies();
$companies = $result->return_value;
echo "Companies:
";
if (is_array($companies)) {
foreach($companies as $company) {
echo "$company
";
}
$cur = $companies[0];
}
else {
echo "$companies
";
$cur = $companies;
}
}
All versions of ntlmsoapclient with dependencies
symfony/framework-bundle Version ^3.4|^4.0
symfony/yaml Version ^3.4|^4.0