PHPackages                             geniv/nette-identity-registration - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. geniv/nette-identity-registration

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

geniv/nette-identity-registration
=================================

Identity registration extension for Nette Framework

v1.0.0(8y ago)023MITPHPPHP &gt;=7.0.0

Since Apr 17Pushed 8y ago1 watchersCompare

[ Source](https://github.com/geniv/nette-identity-registration)[ Packagist](https://packagist.org/packages/geniv/nette-identity-registration)[ RSS](/packages/geniv-nette-identity-registration/feed)WikiDiscussions master Synced 2mo ago

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

Identity registration
=====================

[](#identity-registration)

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

[](#installation)

```
$ composer require geniv/nette-identity-registration
```

or

```
"geniv/nette-identity-registration": ">=1.0.0"
```

require:

```
"php": ">=7.0.0",
"nette/nette": ">=2.4.0",
"geniv/nette-general-form": ">=1.0.0"
```

Include in application
----------------------

[](#include-in-application)

`CleanUserEvent` &amp; `ApproveLinkEvent` *validate* parameter format:

`ApproveLinkEvent` *destination* parameter is string for $presenter-&gt;link()

neon configure:

```
# identity registration
identityRegistration:
#   autowired: true
#   formContainer: Identity\Registration\FormContainer
    events:
        - Identity\Events\CleanUserEvent(-14 days)              # clean non active user
        - CallbackEvent                                         # check duplicity
        - SetValueEvent([active: false, role: guest])           # default value for registration
        - Identity\Events\RegistrationEvent                     # core registration
        - Identity\Events\ApproveLinkEvent(+1 hour, //link)     # generate approve link
        admin: Identity\Events\EmailNotifyEvent                 # email for admin
        user: Identity\Events\EmailNotifyEvent                  # email for user
```

neon configure extension:

```
extensions:
    identityRegistration: Identity\Registration\Bridges\Nette\Extension
```

presenter usage:

```
protected function createComponentIdentityRegistration(RegistrationForm $registrationForm): RegistrationForm
{
    //$registrationForm->setTemplatePath(__DIR__ . '/templates/RegistrationForm.latte');
    $registrationForm->onSuccess[] = function (array $values) {
        $this->flashMessage('Registration!', 'info');
        $this->redirect('this');
    };
    $registrationForm->onException[] = function (RegistrationException $e) {
        $this->flashMessage('Registration exception! ' . $e->getMessage(), 'danger');
        $this->redirect('this');
    };
    return $registrationForm;
}
```

approve usage:

```
public function actionApprove($h)
{
    try {
        if ($this->identityModel->processApprove($h)) {
            $this->flashMessage('Approve!', 'info');
        }
    } catch (IdentityException $e) {
        $this->flashMessage('Approve exception! ' . $e->getMessage(), 'danger');
    }
    $this->redirect('default');
}
```

latte usage:

```
{control identityRegistration}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

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

Unknown

Total

1

Last Release

2945d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

netteuseridentityregistrationgeniv

### Embed Badge

![Health badge](/badges/geniv-nette-identity-registration/health.svg)

```
[![Health](https://phpackages.com/badges/geniv-nette-identity-registration/health.svg)](https://phpackages.com/packages/geniv-nette-identity-registration)
```

###  Alternatives

[sandstorm/usermanagement

Neos and Flow package for user management, login/logout, password reset and user activation

3828.4k](/packages/sandstorm-usermanagement)

PHPackages © 2026

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