drago-ex/project-auth
最新稳定版本:v1.0.5
Composer 安装命令:
composer require drago-ex/project-auth
包简介
Authentication and user access package for the Drago project.
README 文档
README
Authentication and user access package for the Drago project.
This package provides a complete authentication layer including user login, registration, password recovery and access control. It is designed as a modular extension for projects built on top of the Drago ecosystem and Nette framework.
Requirements
- PHP >= 8.3
- Nette Framework
- Drago Project core packages
Features
- User authentication (sign in / sign out)
- User registration (sign up)
- Password recovery and reset
- User identity handling
- Integration with Nette Security and DI
- Ready-to-use backend UI components
Install
composer require drago-ex/project-auth
Adds a new user to the database
Hashes the password, generates a token, and ensures the email is unique.
php vendor/bin/create-user <username> <email> <password>
Database migration
php vendor/bin/migration db:migrate vendor/drago-ex/project-auth/migrations
统计信息
- 总下载量: 25
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-27