一个针对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-09-17 02:29:10 UTC
README
此库旨在提供一个围绕认证和用户身份识别的框架。授权是一个独立关注点。
安装
您可以使用composer安装此库
composer require phauthentic/authentication
要求
您的应用程序必须使用PSR 7 HTTP Message接口作为请求和响应对象。整个库构建为框架无关,但使用这些接口作为公共API。每个现代和良好的框架和应用程序都应该满足此要求。
- php >= 8.0
- psr/http-message
只有当您打算使用PSR-15中间件时
文档
版权 & 许可证
根据MIT许可协议许可。
- 版权(c)Phauthentic
- 版权(c)Cake Software Foundation, Inc.