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(5mo ago)0156Apache-2.0PHPPHP &gt;=8.4

Since Jan 15Pushed 5mo agoCompare

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

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

37

—

LowBetter than 81% of packages

Maintenance71

Regular maintenance activity

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

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

165d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/240886628?v=4)[cryodrift](/maintainers/cryodrift)[@cryodrift](https://github.com/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

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M985](/packages/statamic-cms)[jeffgreco13/filament-breezy

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

1.0k2.1M59](/packages/jeffgreco13-filament-breezy)[stephenjude/filament-two-factor-authentication

Filament Two Factor Authentication: Google 2FA + Passkey Authentication

84215.9k9](/packages/stephenjude-filament-two-factor-authentication)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[pragmarx/google2fa-qrcode

QR Code package for Google2FA

12532.0M55](/packages/pragmarx-google2fa-qrcode)

PHPackages © 2026

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