PHPackages                             varuog/zfe-user - 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. varuog/zfe-user

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

varuog/zfe-user
===============

Zend expressive 2. User handling (Alpha)

1.0.0alpha2(8y ago)16BSD-3-ClausePHPPHP ^5.6 || ^7.0

Since Jun 13Pushed 8y ago1 watchersCompare

[ Source](https://github.com/varuog/zfe-user)[ Packagist](https://packagist.org/packages/varuog/zfe-user)[ Docs](https://github.com/Gourav-Sarkar/zfe-user)[ RSS](/packages/varuog-zfe-user/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (21)Versions (4)Used By (0)

zfe-user
========

[](#zfe-user)

Notice
------

[](#notice)

**It is under active development. (WIP) Not suitable for production.**

Description
-----------

[](#description)

Commong User handling task for zend expressive 2 application. currently supports MongoDB based database, JSON-API payload. Does not includes any view templates or view helpers. Its end points meant to be consumed by API clients. Though it is easily possible to compose a view from `UserService` and use customized view.

Features
--------

[](#features)

1. User is able to register and login
2. User can reset their password and email with mail verification. auto discarded reset tokens.
3. Customizable mail template for notifying user and admin
4. User can be fetched via url
5. Access token based authentication

Future plan
-----------

[](#future-plan)

1. Currently it only supports mongodb. would add doctrine ORM (mysql) and zend-db
2. Currently it only supports json-api payload. Would add other payload.
3. Add event hook for all process

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

[](#installation)

```
$composer require varuog/zfe-user
```

Copy file `zfe-user.global.php` from instllation directory to config\\autoload\\zfe-user.global.php.dist and rename it to zfe-user.global.php

Copy `data\language` folder from zfe-user and paste it to application data directory Create other directory `data\proxies`, `data\hydrators`, `data\document`

Copy `template` folder from zfe-user and paste to application template folder Add this code block to `config\atuoload\dependencies.global.php` under dependency keys

```
 'dependencies' => [
            /**
             * Copy this block
             */
            'delegators' => [

           /**
             * It should be called from other project
             */
            Application::class => [
                \ZfeUser\RouteProvider::class,
            ],
            /**
             * Set up translator resource
             */
            Zend\I18n\Translator\TranslatorInterface::class => [
                \ZfeUser\Factory\Delegator\TranslatorDelegatorFactory::class
            ]
        ],
]
```

Credits
-------

[](#credits)

Abstract Factories for all action are based on [@xtreamwayz](http://github.com/xtreamwayz)[one ActionFactory for all ](https://xtreamwayz.com/blog/2015-12-30-psr7-abstract-action-factory-one-for-all)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.2% 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

3257d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/49f910b8d7c53d30f68cb6195477841db04d2adaecf6d025b8b2dcf847d17186?d=identicon)[varuog](/maintainers/varuog)

---

Top Contributors

[![varuog](https://avatars.githubusercontent.com/u/7002858?v=4)](https://github.com/varuog "varuog (65 commits)")[![gourav-sarkar](https://avatars.githubusercontent.com/u/66348890?v=4)](https://github.com/gourav-sarkar "gourav-sarkar (4 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/varuog-zfe-user/health.svg)

```
[![Health](https://phpackages.com/badges/varuog-zfe-user/health.svg)](https://phpackages.com/packages/varuog-zfe-user)
```

###  Alternatives

[zf-commons/zfc-user

A generic user registration and authentication module for ZF2. Supports Zend\\Db and Doctrine2.

4851.1M70](/packages/zf-commons-zfc-user)[socalnick/scn-social-auth

Uses the HybridAuth PHP library to Enable authentication via Google, Facebook, Twitter, Yahoo!, etc for the ZfcUser ZF2 module.

21974.2k3](/packages/socalnick-scn-social-auth)

PHPackages © 2026

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