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.04.05.0855(1mo ago)0584MITPHPPHP ^8.4

Since Feb 26Pushed 1mo agoCompare

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

READMEChangelogDependencies (2)Versions (18)Used By (4)

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

47

—

FairBetter than 94% of packages

Maintenance91

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 72.1% 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 ~2 days

Total

15

Last Release

44d 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 (31 commits)")[![needalicense](https://avatars.githubusercontent.com/u/13330467?v=4)](https://github.com/needalicense "needalicense (11 commits)")[![goosyboosy](https://avatars.githubusercontent.com/u/13351014?v=4)](https://github.com/goosyboosy "goosyboosy (1 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.5k49.1M350](/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.6k136.0M248](/packages/league-oauth2-server)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

8359.8M53](/packages/php-open-source-saver-jwt-auth)[auth0/auth0-php

PHP SDK for Auth0 Authentication and Management APIs.

40820.2M68](/packages/auth0-auth0-php)[kreait/firebase-tokens

A library to work with Firebase tokens

24040.8M14](/packages/kreait-firebase-tokens)[opauth/opauth

Multi-provider authentication framework for PHP

1.6k783.4k58](/packages/opauth-opauth)

PHPackages © 2026

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