PHPackages                             semitexa/auth - 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. semitexa/auth

ActiveSemitexa-module[Authentication &amp; Authorization](/categories/authentication)

semitexa/auth
=============

Semitexa Auth - user authentication with credential flows, sessions, and access tokens

2026.08.04.2028(2w ago)11415MITPHPPHP ^8.4

Since Mar 23Pushed 1w agoCompare

[ Source](https://github.com/semitexa/semitexa-auth)[ Packagist](https://packagist.org/packages/semitexa/auth)[ RSS](/packages/semitexa-auth/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (6)Versions (24)Used By (5)

Semitexa Auth
=============

[](#semitexa-auth)

User authentication with credential flows, sessions, and pluggable auth handlers.

Purpose
-------

[](#purpose)

Manages request-level authentication. Discovers auth handlers via `#[AsAuthHandler]`, chains them per strategy (first\_match, collect, required), and stores the authenticated principal in coroutine-safe context.

Role in Semitexa
----------------

[](#role-in-semitexa)

Depends on `semitexa/core`. Depended on by `semitexa/authorization`, `semitexa/api`, and platform packages. Auth resolves identity; access control decisions are delegated to downstream packages.

Key Features
------------

[](#key-features)

- `#[AsAuthHandler]` attribute for automatic handler discovery
- Strategy-based handler chaining: first\_match, collect, required
- `AuthBootstrapper` orchestrating per-request authentication
- Coroutine-safe `AuthContextStore` for Swoole environments
- `SessionAuthHandler` as the default implementation
- `AuthenticatableInterface` contract for principal types

Notes
-----

[](#notes)

Auth resolves identity only. Access control decisions are handled by `semitexa/authorization`.

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance97

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 67.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 ~7 days

Recently: every ~24 days

Total

21

Last Release

17d ago

Major Versions

1.0.15 → 2026.04.03.12402026-04-03

### Community

Maintainers

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

---

Top Contributors

[![syntaxwanderer](https://avatars.githubusercontent.com/u/1311643?v=4)](https://github.com/syntaxwanderer "syntaxwanderer (43 commits)")[![needalicense](https://avatars.githubusercontent.com/u/13330467?v=4)](https://github.com/needalicense "needalicense (15 commits)")[![goosyboosy](https://avatars.githubusercontent.com/u/13351014?v=4)](https://github.com/goosyboosy "goosyboosy (4 commits)")[![tarashanych](https://avatars.githubusercontent.com/u/49571976?v=4)](https://github.com/tarashanych "tarashanych (2 commits)")

---

Tags

authauthenticationsemitexasessionstokenstokensauthAuthenticationsessionssemitexa

### Embed Badge

![Health badge](/badges/semitexa-auth/health.svg)

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

###  Alternatives

[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.5k52.7M386](/packages/tymon-jwt-auth)[league/oauth2-server

A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.

6.7k151.3M327](/packages/league-oauth2-server)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

84511.6M67](/packages/php-open-source-saver-jwt-auth)[auth0/auth0-php

PHP SDK for Auth0 Authentication and Management APIs.

41022.5M98](/packages/auth0-auth0-php)[kreait/firebase-tokens

A library to work with Firebase tokens

23947.1M19](/packages/kreait-firebase-tokens)[auth0/login

Auth0 Laravel SDK. Straight-forward and tested methods for implementing authentication, and accessing Auth0's Management API endpoints.

2745.4M3](/packages/auth0-login)

PHPackages © 2026

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