waaseyaa / user
User entity, authentication, and session management for Waaseyaa
v0.1.0-alpha.296
2026-08-19 17:27 UTC
Requires
- php: >=8.5
- symfony/http-foundation: ^7.0
- twig/twig: ^3.0
- waaseyaa/access: ^0.1.0-alpha.296
- waaseyaa/entity: ^0.1.0-alpha.296
- waaseyaa/foundation: ^0.1.0-alpha.296
- waaseyaa/mail: ^0.1.0-alpha.296
Requires (Dev)
- phpunit/phpunit: ^13.0
- waaseyaa/database-legacy: ^0.1.0-alpha.296
- waaseyaa/entity-storage: ^0.1.0-alpha.296
- waaseyaa/field: ^0.1.0-alpha.296
- waaseyaa/ssr: ^0.1.0-alpha.296
This package is auto-updated.
Last update: 2026-08-19 17:54:08 UTC
README
Layer 1 — Core Data
User entity type and authentication middleware for Waaseyaa applications.
Defines the user entity type. SessionMiddleware reads $_SESSION['waaseyaa_uid'] and sets _account on the request (anonymous via AnonymousUser with id: 0 when no session). Includes CsrfMiddleware for form protection. AnonymousUser and DevAdminAccount (id: PHP_INT_MAX, gated to cli-server SAPI) are the system sentinel accounts.
Key classes: User, AnonymousUser, SessionMiddleware, CsrfMiddleware, UserServiceProvider.