PHPackages                             nella/simple-hash-authenticator - 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. nella/simple-hash-authenticator

AbandonedArchivedLibrary[Security](/categories/security)

nella/simple-hash-authenticator
===============================

Simple Hash Authenticator for Nette Framework

v1.0.1(11y ago)433MITPHPPHP &gt;=5.3.7

Since Oct 4Pushed 11y ago2 watchersCompare

[ Source](https://github.com/nella/simple-hash-authenticator)[ Packagist](https://packagist.org/packages/nella/simple-hash-authenticator)[ Docs](https://github.com/nella/simple-hash-authenticator)[ RSS](/packages/nella-simple-hash-authenticator/feed)WikiDiscussions master Synced 1mo ago

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

Simple hash authenticator for [Nette Framework](http://nette.org)
=================================================================

[](#simple-hash-authenticator-for-nette-framework)

[![Build Status](https://camo.githubusercontent.com/d2514673072f5bd0218ea7ad6b13101fd77166474567a06c1ff252c37e5119a3/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6e656c6c612f73696d706c652d686173682d61757468656e74696361746f722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/nella/simple-hash-authenticator)[![SensioLabsInsight Status](https://camo.githubusercontent.com/b0b8d78dc971b956bc248fa5b1b04ead68b616855e00a3b1c5da971e14d17252/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f34353564613964362d623530622d346438662d623435352d6633306439333032396536352e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/455da9d6-b50b-4d8f-b455-f30d93029e65)[![Latest Stable Version](https://camo.githubusercontent.com/adb54eb4383aedf766b723dc644b12c431f8d33fe80af028a1e1d91698505a16/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e656c6c612f73696d706c652d686173682d61757468656e74696361746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nella/simple-hash-authenticator)[![Composer Downloads](https://camo.githubusercontent.com/5d2f6137dcb05f04e4d680c3350c4bbb941abb4e3666b935c356217092bf10ab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e656c6c612f73696d706c652d686173682d61757468656e74696361746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nella/simple-hash-authenticator)[![Dependency Status](https://camo.githubusercontent.com/b0f21eb049ee712e4ff39dd11d5df6c513a00f72e55e158ba3fc1c8fa6009ce3/68747470733a2f2f696d672e736869656c64732e696f2f76657273696f6e6579652f642f757365722f70726f6a656374732f3534333135323735666333663563326630623030303535632e7376673f7374796c653d666c61742d737175617265)](https://www.versioneye.com/user/projects/54315275fc3f5c2f0b00055c)[![HHVM Status](https://camo.githubusercontent.com/938e956fa29aea3a255b26259073edacecfaa09312e8417a823304eafc07be39/68747470733a2f2f696d672e736869656c64732e696f2f6868766d2f6e656c6c612f73696d706c652d686173682d61757468656e74696361746f722e7376673f7374796c653d666c61742d737175617265)](http://hhvm.h4cc.de/package/nella/simple-hash-authenticator)

Installation
------------

[](#installation)

```
composer require nella/simple-hash-authenticator

```

Usage
-----

[](#usage)

```
$authenticator = new \Nella\SimpleHashAuthenticator\Authenticator(array(
    'demo' => '$2y$10$l5cjVRLvK2mjm6hzj8.s8.yjXmtO0Eio0JNt.JwAbZccndN9m1IVi', // hash of 'test'
), array(
    'demo' => array(
        'admin'
    ),
));

/** @var \Nette\Security\User $user */
$user->setAuthenticator($authenticator);
```

or register extension

```
extensions:
    authenticator: Nella\SimpleHashAuthenticator\Extension

authenticator:
    users:
        demo:
            password: '$2y$10$l5cjVRLvK2mjm6hzj8.s8.yjXmtO0Eio0JNt.JwAbZccndN9m1IVi'
            roles:
                - admin

# or without roles

authenticator:
    users:
        demo: '$2y$10$l5cjVRLvK2mjm6hzj8.s8.yjXmtO0Eio0JNt.JwAbZccndN9m1IVi'
```

For hash generator:

```
authenticator:
    router: @router # or your router service name
```

and go to `http://yourweb.local/authenticator`

License
-------

[](#license)

Simple hash authenticator for Nette Framework is licensed under the MIT License - see the LICENSE file for details

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

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 ~0 days

Total

2

Last Release

4242d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0dfead89bde6cee9c89b70868e7feab428cc657384183a113e5aee844a195954?d=identicon)[vrtak-cz](/maintainers/vrtak-cz)

---

Top Contributors

[![Vrtak-CZ](https://avatars.githubusercontent.com/u/112567?v=4)](https://github.com/Vrtak-CZ "Vrtak-CZ (19 commits)")

---

Tags

nettesecurityhashSimpleauthenticator

### Embed Badge

![Health badge](/badges/nella-simple-hash-authenticator/health.svg)

```
[![Health](https://phpackages.com/badges/nella-simple-hash-authenticator/health.svg)](https://phpackages.com/packages/nella-simple-hash-authenticator)
```

###  Alternatives

[firehed/security

Security tools for PHP

2374.9k2](/packages/firehed-security)[ayesh/stateless-csrf

Secret-key based state-less CSRF token generator and validator for PHP 8. State-less means you do not have to store the CSRF token in session or database.

3223.3k](/packages/ayesh-stateless-csrf)[nepada/security-annotations

Security annotations for Nette presenters and components.

1113.3k1](/packages/nepada-security-annotations)[lorddashme/php-simple-captcha

A simple captcha package that fit to any type of web application built on php.

102.9k](/packages/lorddashme-php-simple-captcha)

PHPackages © 2026

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