1. Go to this page and download the library: Download fawno/ntlm-authentication library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
fawno / ntlm-authentication example snippets
use Fawno\NTLM\Authenticator\NTLMAuthenticator;
// Load the authenticators. Session should be first.
$service->loadAuthenticator('Authentication.Session');
$service->loadAuthenticator(NTLMAuthenticator::class, [
'domains' => [],
]);