alphasquare / authmiddleware
Authentication Middleware for Slim PHP. Made for Mxious-src.
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
pkg:composer/alphasquare/authmiddleware
Requires
- jeremykendall/query-auth: ~3.0
This package is not auto-updated.
Last update: 2025-09-27 21:50:56 UTC
README
Authentication Middleware for Slim PHP framework, built for Mxious.
Installation
composer require "alphasquare/authmiddleware"
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.