PHPackages                             laminas/laminas-authentication - 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. laminas/laminas-authentication

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

laminas/laminas-authentication
==============================

provides an API for authentication and includes concrete authentication adapters for common use case scenarios

2.19.0(8mo ago)257.1M↓20%15[4 issues](https://github.com/laminas/laminas-authentication/issues)[5 PRs](https://github.com/laminas/laminas-authentication/pulls)20BSD-3-ClausePHPPHP ~8.2.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0CI passing

Since Dec 31Pushed 1mo ago15 watchersCompare

[ Source](https://github.com/laminas/laminas-authentication)[ Packagist](https://packagist.org/packages/laminas/laminas-authentication)[ Docs](https://laminas.dev)[ Fund](https://funding.communitybridge.org/projects/laminas-project)[ RSS](/packages/laminas-laminas-authentication/feed)WikiDiscussions 2.20.x Synced 2d ago

READMEChangelog (10)Dependencies (11)Versions (100)Used By (20)

laminas-authentication
======================

[](#laminas-authentication)

[![Continuous Integration](https://github.com/laminas/laminas-authentication/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/laminas/laminas-authentication/actions/workflows/continuous-integration.yml)[![Type Coverage](https://camo.githubusercontent.com/fe544b98a36fcbd905e500c43451f7113ca0da1b80b39298a7eb943f3094fa70/68747470733a2f2f73686570686572642e6465762f6769746875622f6c616d696e61732f6c616d696e61732d61757468656e7469636174696f6e2f636f7665726167652e737667)](https://shepherd.dev/github/laminas/laminas-authentication)

> ## 🇷🇺 Русским гражданам
>
> [](#-русским-гражданам)
>
> Мы, участники Laminas, родились и живем в разных странах. У многих из нас есть друзья, родственники и коллеги как в России, так и в Украине. Некоторые из нас родились в России. Некоторые из нас живут в России. У некоторых бабушки и дедушки сражались с фашистами во Второй мировой войне. Здесь никто не поддерживает фашизм.
>
> У одного из нас есть украинская родственница, которая спаслась из дома вместе с сыном. Поезд задержался из-за бомбежки на дороге впереди. У нас есть друзья, которые прячутся в бомбоубежищах. Мы с тревогой ждем весточки от них после воздушных налетов, которые беспорядочно наносят удары и попадают по больницам, школам, детским садам и домам. Мы не берем это из каких-либо СМИ. Мы наблюдаем это напрямую.
>
> Вы доверяете нам достаточно, чтоб использовать наши программы, и мы просим вас довериться нам вновь. Мы нуждаемся в помощи. Выходите и протестуйте против этой бесполезной войны. Остановите кровопролитие. Скажите "Нет войне!"
>
> ## 🇺🇸 To Citizens of Russia
>
> [](#-to-citizens-of-russia)
>
> We at Laminas come from all over the world. Many of us have friends, family and colleagues in both Russia and Ukraine. Some of us were born in Russia. Some of us currently live in Russia. Some have grandparents who fought Nazis in World War II. Nobody here supports fascism.
>
> One team member has a Ukrainian relative who fled her home with her son. The train was delayed due to bombing on the road ahead. We have friends who are hiding in bomb shelters. We anxiously follow up on them after the air raids, which indiscriminately fire at hospitals, schools, kindergartens and houses. We're not taking this from any media. These are our actual experiences.
>
> You trust us enough to use our software. We ask that you trust us to say the truth on this. We need your help. Go out and protest this unnecessary war. Stop the bloodshed. Say "stop the war!"

The `Laminas\Authentication` component provides an API for authentication and includes concrete authentication adapters for common use case scenarios.

- File issues at
- Documentation is at

###  Health Score

69

—

FairBetter than 100% of packages

Maintenance74

Regular maintenance activity

Popularity56

Moderate usage in the ecosystem

Community45

Growing community involvement

Maturity91

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 65.8% 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 ~24 days

Recently: every ~121 days

Total

96

Last Release

138d ago

Major Versions

2.19.x-dev → 3.0.x-dev2025-10-17

PHP version history (12 changes)2.0.0PHP &gt;=5.3.3

2.3.0PHP &gt;=5.3.23

2.5.2PHP &gt;=5.5

2.5.3PHP ^5.5 || ^7.0

2.6.0PHP ^5.6 || ^7.0

2.8.0PHP ^7.3 || ~8.0.0

2.9.x-devPHP ^7.3 || ~8.0.0 || ~8.1.0

2.12.x-devPHP ^7.4 || ~8.0.0 || ~8.1.0

2.13.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0

2.16.x-devPHP ~8.1.0 || ~8.2.0 || ~8.3.0

2.18.0PHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0

2.19.0PHP ~8.2.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25943?v=4)[Matthew Weier O'Phinney](/maintainers/weierophinney)[@weierophinney](https://github.com/weierophinney)

---

Top Contributors

[![weierophinney](https://avatars.githubusercontent.com/u/25943?v=4)](https://github.com/weierophinney "weierophinney (5286 commits)")[![Maks3w](https://avatars.githubusercontent.com/u/1301698?v=4)](https://github.com/Maks3w "Maks3w (791 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (752 commits)")[![EvanDotPro](https://avatars.githubusercontent.com/u/5607?v=4)](https://github.com/EvanDotPro "EvanDotPro (251 commits)")[![akrabat](https://avatars.githubusercontent.com/u/33135?v=4)](https://github.com/akrabat "akrabat (180 commits)")[![ezimuel](https://avatars.githubusercontent.com/u/475967?v=4)](https://github.com/ezimuel "ezimuel (143 commits)")[![michalbundyra](https://avatars.githubusercontent.com/u/7423207?v=4)](https://github.com/michalbundyra "michalbundyra (59 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (55 commits)")[![ralphschindler](https://avatars.githubusercontent.com/u/76674?v=4)](https://github.com/ralphschindler "ralphschindler (54 commits)")[![marc-mabe](https://avatars.githubusercontent.com/u/302689?v=4)](https://github.com/marc-mabe "marc-mabe (51 commits)")[![Freeaqingme](https://avatars.githubusercontent.com/u/33034?v=4)](https://github.com/Freeaqingme "Freeaqingme (45 commits)")[![DASPRiD](https://avatars.githubusercontent.com/u/233300?v=4)](https://github.com/DASPRiD "DASPRiD (40 commits)")[![sgehrig](https://avatars.githubusercontent.com/u/43394?v=4)](https://github.com/sgehrig "sgehrig (39 commits)")[![gsteel](https://avatars.githubusercontent.com/u/2803720?v=4)](https://github.com/gsteel "gsteel (36 commits)")[![Xerkus](https://avatars.githubusercontent.com/u/725842?v=4)](https://github.com/Xerkus "Xerkus (35 commits)")[![mikaelkael](https://avatars.githubusercontent.com/u/212540?v=4)](https://github.com/mikaelkael "mikaelkael (25 commits)")[![mwillbanks](https://avatars.githubusercontent.com/u/38209?v=4)](https://github.com/mwillbanks "mwillbanks (23 commits)")[![samsonasik](https://avatars.githubusercontent.com/u/459648?v=4)](https://github.com/samsonasik "samsonasik (22 commits)")[![prolic](https://avatars.githubusercontent.com/u/394428?v=4)](https://github.com/prolic "prolic (20 commits)")[![Thinkscape](https://avatars.githubusercontent.com/u/270528?v=4)](https://github.com/Thinkscape "Thinkscape (19 commits)")

---

Tags

authenticationlaminasAuthentication

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/laminas-laminas-authentication/health.svg)

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

###  Alternatives

[google/auth

Google Auth Library for PHP

1.4k294.2M219](/packages/google-auth)[pragmarx/google2fa

A One Time Password Authentication package, compatible with Google Authenticator.

2.0k97.9M239](/packages/pragmarx-google2fa)[paragonie/sodium_compat

Pure PHP implementation of libsodium; uses the PHP extension if it exists

931145.2M179](/packages/paragonie-sodium-compat)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

42223.4M176](/packages/league-oauth2-google)[laminas/laminas-validator

Validation classes for a wide range of domains, and the ability to chain validators to create complex validation criteria

15848.2M222](/packages/laminas-laminas-validator)[pragmarx/google2fa-qrcode

QR Code package for Google2FA

12532.0M55](/packages/pragmarx-google2fa-qrcode)

PHPackages © 2026

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