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.
- PHP >= 8.3
- Nette Framework
- Drago Project core packages
- 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
composer require drago-ex/project-authHashes the password, generates a token, and ensures the email is unique.
php vendor/bin/create-user <username> <email> <password>final class SecurePresenter extends Presenter
{
use App\UI\Backend\Sign\UserRequireLogged;
}php vendor/bin/migration db:migrate vendor/drago-ex/project-auth/migrations