tmaiaroto / li3b_users
一个核心库,使用 li3b_core 进行用户认证。
Requires
- composer/installers: *
- tmaiaroto/li3_access: dev-master
- tmaiaroto/li3b_core: dev-master
This package is not auto-updated.
Last update: 2024-09-14 14:19:26 UTC
README
这个库是为与 Lithium Bootstrap 一起使用而设计的。它将为您的应用程序提供基本用户系统。
它需要 MongoDB 来存储用户数据和会话处理。以下安装说明假设您已安装 MongoDB。
依赖项
此库依赖于 li3_access: https://github.com/tmaiaroto/li3_access
快速安装
确保您已安装 Lithium Bootstrap: https://github.com/tmaiaroto/li3_bootstrap 或者,至少,已将核心库安装到您的应用程序中: https://github.com/tmaiaroto/li3b_core
运行 Lithium 控制台命令:li3 bootstrap install li3b_users
这会将此存储库克隆到您的库文件夹中,并自动配置它以供使用。
手动安装
如果您没有从示例 Lithium Bootstrap 项目开始: https://github.com/tmaiaroto/li3_bootstrap
那么确保您已安装 Lithium Bootstrap 核心库: https://github.com/tmaiaroto/li3b_core
确保它已添加到您的主应用程序中。还要确保您已安装所有依赖项(li3_flash_message 等),并确保它们已通过 Libraries::add() 添加。
将此存储库克隆到您的库目录(或子模块)中,并确保您还有 li3_access: https://github.com/tmaiaroto/li3_access
确保 li3_access 和 li3b_users 都已通过 Libraries::add() 添加到您的主应用程序中。
您应该可以正常使用了。不过,您可能想尝试调整路由。