简单哈希验证器安装:composer require nella/simple-hash-authenticator

用法

```php

$authenticator = new Nella\SimpleHashAuthenticator(

  array(

      'demo' => '$2y$10$l5cjVRLvK2mjm6hzj8.s8.yjXmtO0Eio0JNt.JwAbZccndN9m1IVi', // hash of 'test'

  ),

  array(

      'demo' => array('admin'),

  )

);

/* @var Nette\Security\User $user /

$user->setAuthenticator($authenticator);

```

或者注册扩展。