Download the PHP package jasny/auth without Composer
On this page you can find all versions of the php package jasny/auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package auth
Jasny Auth
Authentication, authorization and access control for Slim Framework and other PHP micro-frameworks.
Features
- Multiple authorization strategies, like groups (for acl) and levels.
- Authorization context (eg. "is the user an admin of this team?").
- PSR-14 events for login and logout.
- PSR-15 middleware for access control.
- Session invalidation, explicit or implicit (eg. after password change).
- Multi-factor authentication support.
- JWT and Bearer authentication support.
- Confirmation tokens for sign up confirmation and forgot-password.
- PSR-3 logging of interesting events.
- Customizable to meet the requirements of your application.
Installation
Install using composer
composer require jasny/auth
Usage
Auth
is a composition class. It takes an authz, storage, and optionally a confirmation service.
The Auth
service isn't usable until it's initialized. This should be done after the session is started.
Documentation
- Home
- Setup
- Authentication
- Authorization
- Sessions
- Middleware (for access control)
- MFA (Multi-factor authentication)
- TOTP (aka Google authenticator)
- Confirmation
- Random token
- Hashids
- Examples
- Logging
All versions of auth with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2.0
improved/iterable Version ^0.1.4
jasny/immutable Version ^2.1
psr/clock Version ^1.0
psr/event-dispatcher Version ^1.0
psr/http-factory Version ^1.0
psr/http-message Version ^1.1
psr/http-server-middleware Version ^1.0
psr/log Version ^1.1
improved/iterable Version ^0.1.4
jasny/immutable Version ^2.1
psr/clock Version ^1.0
psr/event-dispatcher Version ^1.0
psr/http-factory Version ^1.0
psr/http-message Version ^1.1
psr/http-server-middleware Version ^1.0
psr/log Version ^1.1
The package jasny/auth contains the following files
Loading the files please wait ....