comphp/auth
Composer 安装命令:
composer require comphp/auth
包简介
Authentication contracts and services for PHP applications.
README 文档
README
CommonPHP Auth provides authentication-focused contracts and services for CommonPHP applications. It defines the pieces needed to identify users, authenticate credentials, and connect authentication sources through driver-based implementations.
The package is focused on proving identity while allowing authorization, sessions, HTTP login flows, and storage drivers to remain separate or optional integrations.
Requirements
- PHP
^8.5 comphp/runtime:^0.3
Installation
Once this package is available through your Composer repositories, install it with:
composer require comphp/auth
Usage
<?php // TODO: Write usage
Package Notes
This package should focus on authentication flows, authentication drivers, identity providers, and login state. Authorization and broader protection concerns belong in comphp/security.
Error Handling
Authentication failures should be represented with package-specific exceptions or result objects rather than generic runtime failures.
Documentation
License
MIT. See LICENSE.md.
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-18