PHPackages                             alphasquare/authmiddleware - 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. alphasquare/authmiddleware

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

alphasquare/authmiddleware
==========================

Authentication Middleware for Slim PHP. Made for Mxious-src.

013PHP

Since Jan 30Pushed 11y ago3 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

AuthenticationMiddleware
========================

[](#authenticationmiddleware)

Authentication Middleware for Slim PHP framework, built for Mxious.

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

[](#installation)

```
composer require "alphasquare/authmiddleware"

```

Usage
-----

[](#usage)

Add the middleware.:

```
$app->add(new \Auth\AuthMiddleware);

```

Then pass requests to it using the jeremykendall/query-auth documentation instructions. This takes care of authenticating all requests. All requests will be authenticated.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 55.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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/df3a8bca69b1cfa25cf27914eb02b722e094870e5396e253cd172bdea83fdfe5?d=identicon)[Alphapixels](/maintainers/Alphapixels)

---

Top Contributors

[![matteing](https://avatars.githubusercontent.com/u/7959397?v=4)](https://github.com/matteing "matteing (5 commits)")[![Alphapixels](https://avatars.githubusercontent.com/u/141943329?v=4)](https://github.com/Alphapixels "Alphapixels (4 commits)")

### Embed Badge

![Health badge](/badges/alphasquare-authmiddleware/health.svg)

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

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

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

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

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

PHPackages © 2026

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