PHPackages                             sivin/ntlm-http-auth - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. sivin/ntlm-http-auth

ActiveLibrary[Security](/categories/security)

sivin/ntlm-http-auth
====================

Extension for Nette Framework: NTLM authenticate for authenticator

2.0.0(5y ago)0311MITPHPPHP &gt;=7.1

Since Jan 29Pushed 5y ago1 watchersCompare

[ Source](https://github.com/SiViN/ntlm-http-auth)[ Packagist](https://packagist.org/packages/sivin/ntlm-http-auth)[ RSS](/packages/sivin-ntlm-http-auth/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (4)Versions (3)Used By (0)

[![License](https://camo.githubusercontent.com/4ebe6471bb077c9fddf5c5a9db952701cf320621f0d10f758681deae632c0253/68747470733a2f2f706f7365722e707567782e6f72672f736976696e2f6e746c6d2d687474702d617574682f6c6963656e7365)](https://packagist.org/packages/sivin/simple-http-auth)[![Total Downloads](https://camo.githubusercontent.com/209d218f4cd53b9d9588c54836562cfbbe5b2ebc42d95742808733eb79f75ca9/68747470733a2f2f706f7365722e707567782e6f72672f736976696e2f6e746c6d2d687474702d617574682f646f776e6c6f616473)](https://packagist.org/packages/sivin/ntlm-http-auth)

NtlmHttpAuth
============

[](#ntlmhttpauth)

1. Install via composer

```
composer require sivin/ntlm-http-auth
```

2. Register extension in `config.neon`:

```
extensions:
	ntlmHttpAuth: SiViN\NtlmHttpAuth\DI\NtlmHttpAuthExtension
```

3, Tell which presenters should not be secured (in case no presenter name given, all presenters are secured). Format - `Module:Presenter`:

```
ntlmHttpAuth:
	excludedPresenters: [Front:Nonsecured] # Exlude presenter class App\FrontModule\Presenters\NonsecuredPresenter
```

4, Implement `SiViN\NtlmHttpAuth\INtlmAuthenticator` to your authenticator In`config.neon`:

```
services:
	authenticator: NtlmAuthenticator
```

File `NtlmAuthenticator.php`:

```
class NtlmAuthenticator implements \Nette\Security\IAuthenticator, \SiViN\NtlmHttpAuth\INtlmAuthenticator
{
    function authenticate(array $credentials)
    {
        ...
    }

    function ntlmAuthenticate(\SiViN\NtlmHttpAuth\AuthenticateResult $authenticateResult)
    {
        if($this->LdapOrDbOrSomething($authenticateResult->username, $authenticateResult->domain, $authenticateResult->workstation))
        {
            return new \Nette\Security\Identity(...);
        }
        else
        {
            throw new \Nette\Security\AuthenticationException('User not found', self::IDENTITY_NOT_FOUND);
        }
    }
}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1366 days

Total

2

Last Release

2021d ago

Major Versions

1.0.0 → 2.0.02020-10-27

PHP version history (2 changes)1.0.0PHP &gt;=5.4

2.0.0PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/c0ef9218582ffd6b33e62fdde4c24234451156234a737e4f3650a9fde5cae414?d=identicon)[SiViN](/maintainers/SiViN)

---

Top Contributors

[![SiViN](https://avatars.githubusercontent.com/u/17454320?v=4)](https://github.com/SiViN "SiViN (2 commits)")

---

Tags

securityextensionNTLMntlm-http-auth

### Embed Badge

![Health badge](/badges/sivin-ntlm-http-auth/health.svg)

```
[![Health](https://phpackages.com/badges/sivin-ntlm-http-auth/health.svg)](https://phpackages.com/packages/sivin-ntlm-http-auth)
```

###  Alternatives

[spooner-web/be_secure_pw

You can set password conventions to force secure passwords for BE users.

10461.3k](/packages/spooner-web-be-secure-pw)[georgringer/noopener

Add rel="noopener noreferrer" to all external links

1535.1k](/packages/georgringer-noopener)[nepada/security-annotations

Security annotations for Nette presenters and components.

1113.3k1](/packages/nepada-security-annotations)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
