phauthentic / authentication
A Framework agnostic Authentication library for PHP
3.0.0-rc1
2024-03-17 00:57 UTC
Requires
- php: ^8.0
- ext-json: *
- phauthentic/password-hashers: ^2.0
- psr/http-factory: ^1.0
- psr/http-message: ~1.0
- psr/http-server-handler: ~1.0
- psr/http-server-middleware: ^1.0
Requires (Dev)
- ext-pdo: *
- dms/phpunit-arraysubset-asserts: ^0.3.0
- firebase/php-jwt: 6.*
- misantron/dbunit: dev-master
- nyholm/psr7: ^1.8
- phpmd/phpmd: ^2.15
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.9
Suggests
- ext-ldap: Make sure this php extension is installed and enabled on your system if you want to use the built-in LDAP adapter for "LdapIdentifier".
- firebase/php-jwt: If you want to use the JWT adapter add this dependency
This package is auto-updated.
Last update: 2024-10-17 02:37:07 UTC
README
This library intends to provide a framework around authentication and user identification. Authorization is a separate concern.
Installation
You can install this library using composer:
composer require phauthentic/authentication
Requirements
Your application must use the PSR 7 HTTP Message interfaces for your request and response objects. The whole library is build to be framework agnostic but uses these interfaces as the common API. Every modern and well written framework and application should fulfill this requirement.
- php >= 8.0
- psr/http-message
Only if you plan to use the PSR-15 middleware:
Documentation
- Architectural Overview
- Quick Start and Introduction
- Authenticators
- Identifiers
- Identity Objects
- URL Checkers
- PSR15 Middleware
- PSR7 Middleware
Copyright & License
Licensed under the MIT license.
- Copyright (c) Phauthentic
- Copyright (c) Cake Software Foundation, Inc.