PHPackages                             lm-commons/lmc-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. lm-commons/lmc-authentication

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

lm-commons/lmc-authentication
=============================

Laminas Mezzio Authentication

1.1.0(2mo ago)01421[1 issues](https://github.com/LM-Commons/lmc-authentication/issues)[11 PRs](https://github.com/LM-Commons/lmc-authentication/pulls)BSD-3-ClausePHPPHP ~8.3.0 || ~8.4.0 || ~8.5.0CI failing

Since Nov 21Pushed 3w agoCompare

[ Source](https://github.com/LM-Commons/lmc-authentication)[ Packagist](https://packagist.org/packages/lm-commons/lmc-authentication)[ RSS](/packages/lm-commons-lmc-authentication/feed)WikiDiscussions 1.2.x Synced today

READMEChangelog (3)Dependencies (16)Versions (24)Used By (0)

LMC Authentication
==================

[](#lmc-authentication)

[![Build](https://github.com/lm-commons/lmc-authentication/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/lm-commons/lmc-authentication/actions/workflows/continous-integration.yml)[![Version](https://camo.githubusercontent.com/7ce0892c3311f008a79db545b2e13efc827ec736e6a82e5d8486df789189ea44/68747470733a2f2f706f7365722e707567782e6f72672f6c6d2d636f6d6d6f6e732f6c6d632d61757468656e7469636174696f6e2f76)](https://packagist.org/packages/lm-commons/lmc-authentication)[![Total Downloads](https://camo.githubusercontent.com/9b944628867f16d40b9bf47919ded849381db31b1edd7b3c512477cc97897196/68747470733a2f2f706f7365722e707567782e6f72672f6c6d2d636f6d6d6f6e732f6c6d632d61757468656e7469636174696f6e2f646f776e6c6f616473)](//packagist.org/packages/lm-commons/lmc-authentication)[![License](https://camo.githubusercontent.com/406dfbbc82d9bb0d95680e26965a16bc1d75fff5021bce11b502c842e1f70482/68747470733a2f2f706f7365722e707567782e6f72672f6c6d2d636f6d6d6f6e732f6c6d632d61757468656e7469636174696f6e2f6c6963656e7365)](https://packagist.org/packages/lm-commons/lmc-authentication)[![Static Badge](https://camo.githubusercontent.com/97adfbd58cff47d94c2a7820318eb9cf71d6c00f19639c50b6142bcf7e1f215f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436861745f6f6e2d446973636f72642d626c7565)](https://discord.gg/nAAu7AhR)

[![Dynamic JSON Badge](https://camo.githubusercontent.com/62960c0f68508ac77bec5f485e3bd813a2ad3c01ff11f91535fe9c7ac2db95c6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f64796e616d69632f6a736f6e3f75726c3d68747470732533412532462532466170692e6769746875622e636f6d2532467265706f732532466c6d2d636f6d6d6f6e732532466c6d632d61757468656e7469636174696f6e25324670726f7065727469657325324676616c7565732671756572793d253234253542253341312535442e76616c7565266c6162656c3d4d61696e74656e616e6365253230537461747573)](https://camo.githubusercontent.com/62960c0f68508ac77bec5f485e3bd813a2ad3c01ff11f91535fe9c7ac2db95c6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f64796e616d69632f6a736f6e3f75726c3d68747470732533412532462532466170692e6769746875622e636f6d2532467265706f732532466c6d2d636f6d6d6f6e732532466c6d632d61757468656e7469636174696f6e25324670726f7065727469657325324676616c7565732671756572793d253234253542253341312535442e76616c7565266c6162656c3d4d61696e74656e616e6365253230537461747573)

Authentication middleware for Mezzio applications

Requirements
------------

[](#requirements)

- PHP 8.3 or higher

Installation
------------

[](#installation)

You can install the lmc-authentication library with composer:

```
$ php composer.phar require lm-commons/lmc-authentication
```

Documentation
-------------

[](#documentation)

Browse the documentation online at [LM-Commons](https://lm-commons.github.io/lmc-authentication/).

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance91

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 94.7% 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 ~36 days

Recently: every ~44 days

Total

6

Last Release

44d ago

PHP version history (3 changes)1.0.0PHP ~8.2.0 || ~8.3.0 || ~8.4.0

1.0.1PHP ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0

1.1.0PHP ~8.3.0 || ~8.4.0 || ~8.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/39ff13f678d45f5296af1e1a2a5807db794bfd9835b64302c9bcc43156854a03?d=identicon)[visto9259](/maintainers/visto9259)

---

Top Contributors

[![visto9259](https://avatars.githubusercontent.com/u/7890483?v=4)](https://github.com/visto9259 "visto9259 (71 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (3 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

laminasAuthenticationmezzio

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/lm-commons-lmc-authentication/health.svg)

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

###  Alternatives

[mezzio/mezzio-authentication-oauth2

OAuth2 (server) authentication middleware for Mezzio and PSR-7 applications.

28591.3k3](/packages/mezzio-mezzio-authentication-oauth2)[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)[mezzio/mezzio

PSR-15 Middleware Microframework

3923.8M125](/packages/mezzio-mezzio)[google/auth

Google Auth Library for PHP

1.4k294.2M219](/packages/google-auth)[cakephp/authentication

Authentication plugin for CakePHP

1214.1M106](/packages/cakephp-authentication)[mezzio/mezzio-authentication

Authentication middleware for Mezzio and PSR-7 applications

131.7M39](/packages/mezzio-mezzio-authentication)

PHPackages © 2026

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