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

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

cryodrift/user
==============

User management and authentication helpers.

0.1.30(3mo ago)0146Apache-2.0PHPPHP &gt;=8.4

Since Jan 15Pushed 3mo agoCompare

[ Source](https://github.com/cryodrift/user)[ Packagist](https://packagist.org/packages/cryodrift/user)[ RSS](/packages/cryodrift-user/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (30)Used By (6)

User
====

[](#user)

User-related utilities and web endpoints (login, logout, 2FA, password and email management).

Routes
------

[](#routes)

All routes are provided by methods annotated with `@web` in `src/user/Web.php` and are accessible under `/user/{method}`. Available routes and parameters:

- GET or POST /user/login — login form and submission

    - params:
        - user (POST only, required, string)
        - password (POST only, required, string)
        - code (POST only, optional, string): 2FA code (if 2FA enabled)
- GET /user/logout — destroy session and redirect

    - params: none
- GET /user/admin — user administration page

    - params: none
- GET or POST /user/index — start page / 2FA verification

    - params:
        - query (POST only, optional, string): 2FA verification code
- GET or POST /user/api — grouped API endpoints by command

    - params:
        - command (required, string): one of 2fa | password | email | emaildelete
        - for command=2fa:
            - params: none (returns 2FA setup info)
        - for command=password:
            - value (POST, JSON object): { "old\_password": string, "new\_password": string }
        - for command=email:
            - value (POST, JSON object): { "type": string, "name": string, "host": string, "password": string }
        - for command=emaildelete:
            - data-id (POST, JSON object): { "data-id": string } — encrypted host id

CLI
---

[](#cli)

- Show commands: php index.php /user/cli -help

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance78

Regular maintenance activity

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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

29

Last Release

119d ago

### Community

Maintainers

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

### Embed Badge

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

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

###  Alternatives

[jeffgreco13/filament-breezy

A custom package for Filament with login flow, profile and teams support.

1.0k1.7M41](/packages/jeffgreco13-filament-breezy)[pragmarx/google2fa-qrcode

QR Code package for Google2FA

12124.6M37](/packages/pragmarx-google2fa-qrcode)[devdojo/auth

The auth package to make authentication in your laravel applications easy to use.

61979.4k2](/packages/devdojo-auth)[stephenjude/filament-two-factor-authentication

Filament Two Factor Authentication: Google 2FA + Passkey Authentication

81158.7k4](/packages/stephenjude-filament-two-factor-authentication)[rainlab/user-plugin

User plugin for October CMS

11954.3k13](/packages/rainlab-user-plugin)[webbingbrasil/filament-2fa

A 2FA plugin for filament.

4740.7k](/packages/webbingbrasil-filament-2fa)

PHPackages © 2026

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