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.06.21.0352(1w ago)11235MITPHPPHP ^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 today

READMEChangelogDependencies (4)Versions (22)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

49

—

FairBetter than 94% of packages

Maintenance94

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 68.3% 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 ~6 days

Recently: every ~19 days

Total

19

Last Release

12d 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 (41 commits)")[![needalicense](https://avatars.githubusercontent.com/u/13330467?v=4)](https://github.com/needalicense "needalicense (13 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.7k51.8M370](/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.7k147.0M290](/packages/league-oauth2-server)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

84611.1M63](/packages/php-open-source-saver-jwt-auth)[auth0/auth0-php

PHP SDK for Auth0 Authentication and Management APIs.

41021.9M91](/packages/auth0-auth0-php)[kreait/firebase-tokens

A library to work with Firebase tokens

23945.4M18](/packages/kreait-firebase-tokens)[auth0/login

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

2795.3M3](/packages/auth0-login)

PHPackages © 2026

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