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

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

spiral/auth
===========

Common Authentication Interfaces

3.16.1(3mo ago)424.9k↓46.6%17MITPHPPHP &gt;=8.1CI failing

Since Feb 1Pushed 2mo ago4 watchersCompare

[ Source](https://github.com/spiral/auth)[ Packagist](https://packagist.org/packages/spiral/auth)[ Docs](https://spiral.dev)[ GitHub Sponsors](https://github.com/sponsors/spiral)[ RSS](/packages/spiral-auth/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (108)Used By (7)

Spiral: Common Authentication Interfaces
========================================

[](#spiral-common-authentication-interfaces)

[![PHP Version Require](https://camo.githubusercontent.com/19c7cfdefe19e4e959bc4a99a8a5a586716db35e900575b59596a6f215531cfa/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f617574682f726571756972652f706870)](https://packagist.org/packages/spiral/auth)[![Latest Stable Version](https://camo.githubusercontent.com/fbd0b9ff007db1983aad5b240a0af08213f670e7738439f54027cf79c899c1cf/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f617574682f762f737461626c65)](https://packagist.org/packages/spiral/auth)[![phpunit](https://github.com/spiral/auth/actions/workflows/phpunit.yml/badge.svg)](https://github.com/spiral/auth/actions)[![psalm](https://github.com/spiral/auth/actions/workflows/psalm.yml/badge.svg)](https://github.com/spiral/auth/actions)[![Codecov](https://camo.githubusercontent.com/b82af0068d2fdd0b733f6758e6ad5751bd28c934a71d17d274fe451b3e12ddca/68747470733a2f2f636f6465636f762e696f2f67682f73706972616c2f617574682f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/spiral/auth/)[![Total Downloads](https://camo.githubusercontent.com/f98b88533e879b4dde89ba49b3af0e989eb129fb2c18a552d816260f6fbf5d4e/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f617574682f646f776e6c6f616473)](https://packagist.org/packages/spiral/auth)[![](https://camo.githubusercontent.com/4442b73a11753b80fdd7b442ddbfaf8383902c8b9ffa66ed1718e8c62e102f2e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646973636f72642d636861742d6d6167656e74612e737667)](https://discord.gg/8bZsjYhVVk)

**[Documentation](https://spiral.dev/docs/security-authentication)** | [Framework Bundle](https://github.com/spiral/framework)

License:
--------

[](#license)

MIT License (MIT). Please see [`LICENSE`](./LICENSE) for more information. Maintained by [Spiral Scout](https://spiralscout.com).

###  Health Score

60

—

FairBetter than 99% of packages

Maintenance81

Actively maintained with recent releases

Popularity32

Limited adoption so far

Community27

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 95.6% 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 ~37 days

Recently: every ~73 days

Total

99

Last Release

119d ago

Major Versions

v0.9.1 → 2.0.x-dev2019-10-23

v1.0.0 → v2.6.12020-08-20

2.14.1 → 3.0.02022-09-13

PHP version history (4 changes)2.0.x-devPHP ^7.2

2.7.0PHP &gt;=7.2

2.10.0PHP &gt;=7.4

3.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/796136?v=4)[Anton Tsitou](/maintainers/wolfy-j)[@wolfy-j](https://github.com/wolfy-j)

---

Top Contributors

[![wolfy-j](https://avatars.githubusercontent.com/u/796136?v=4)](https://github.com/wolfy-j "wolfy-j (3447 commits)")[![spiralbot](https://avatars.githubusercontent.com/u/100867204?v=4)](https://github.com/spiralbot "spiralbot (77 commits)")[![SerafimArts](https://avatars.githubusercontent.com/u/2461257?v=4)](https://github.com/SerafimArts "SerafimArts (43 commits)")[![vvval](https://avatars.githubusercontent.com/u/11367763?v=4)](https://github.com/vvval "vvval (14 commits)")[![alexndr-novikov](https://avatars.githubusercontent.com/u/7372962?v=4)](https://github.com/alexndr-novikov "alexndr-novikov (4 commits)")[![rauanmayemir](https://avatars.githubusercontent.com/u/9691?v=4)](https://github.com/rauanmayemir "rauanmayemir (4 commits)")[![butschster](https://avatars.githubusercontent.com/u/773481?v=4)](https://github.com/butschster "butschster (3 commits)")[![roxblnfk](https://avatars.githubusercontent.com/u/4152481?v=4)](https://github.com/roxblnfk "roxblnfk (2 commits)")[![tuneyourserver](https://avatars.githubusercontent.com/u/7487510?v=4)](https://github.com/tuneyourserver "tuneyourserver (2 commits)")[![R3VoLuT1OneR](https://avatars.githubusercontent.com/u/1111188?v=4)](https://github.com/R3VoLuT1OneR "R3VoLuT1OneR (2 commits)")[![jwdeitch](https://avatars.githubusercontent.com/u/7282720?v=4)](https://github.com/jwdeitch "jwdeitch (1 commits)")[![jdrieghe](https://avatars.githubusercontent.com/u/12606789?v=4)](https://github.com/jdrieghe "jdrieghe (1 commits)")[![ncou](https://avatars.githubusercontent.com/u/16743322?v=4)](https://github.com/ncou "ncou (1 commits)")[![MatthewHallCom](https://avatars.githubusercontent.com/u/1230091?v=4)](https://github.com/MatthewHallCom "MatthewHallCom (1 commits)")[![nikolaev-dm](https://avatars.githubusercontent.com/u/52159053?v=4)](https://github.com/nikolaev-dm "nikolaev-dm (1 commits)")[![samsonasik](https://avatars.githubusercontent.com/u/459648?v=4)](https://github.com/samsonasik "samsonasik (1 commits)")[![lex111](https://avatars.githubusercontent.com/u/4408379?v=4)](https://github.com/lex111 "lex111 (1 commits)")

---

Tags

authenticationphp7spiral

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[web-token/jwt-framework

JSON Object Signing and Encryption library for PHP and Symfony Bundle.

94818.9M77](/packages/web-token-jwt-framework)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)[web-auth/webauthn-lib

FIDO2/Webauthn Support For PHP

1225.3M72](/packages/web-auth-webauthn-lib)[litesaml/lightsaml

SAML 2.0 PHP library

1055.5M18](/packages/litesaml-lightsaml)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

50570.7k1](/packages/web-auth-webauthn-framework)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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