Voyti
User management, authentication & authorization
Console
| Command | Description |
|---|---|
voyti:create |
Create a new user |
voyti:confirm |
Confirm a user’s email |
voyti:password |
Change a user’s password |
voyti:delete |
Delete a user |
voyti:create
Create a new user account with optional password and role assignment.
voyti:create [options] [--] <email> <username> email string
required
Email address for the user
username string
required
Username for the user
-p, --password string
optional
Password (auto-generated if omitted)
-r, --role string
optional
RBAC role to assign to the user
php yii voyti:create user@example.com johndoe
php yii voyti:create --password=secret123 --role=admin user@example.com johndoevoyti:confirm
Mark a user account as email-confirmed.
voyti:confirm [options]--email string
optional
Confirm user by email address
--username string
optional
Confirm user by username
--id int
optional
Confirm user by ID
php yii voyti:confirm --email=user@example.com
php yii voyti:confirm --username=johndoe
php yii voyti:confirm --id=42voyti:password
Reset a user's password to a newly generated one.
voyti:password [options]--email string
optional
Reset password for user by email address
--username string
optional
Reset password for user by username
--id int
optional
Reset password for user by ID
php yii voyti:password --email=user@example.com
php yii voyti:password --username=johndoe
php yii voyti:password --id=42voyti:delete
Delete a user account by ID, email, or username.
voyti:delete [options]--email string
optional
Delete user by email address
--username string
optional
Delete user by username
--id int
optional
Delete user by ID
php yii voyti:delete --email=user@example.com
php yii voyti:delete --username=johndoe
php yii voyti:delete --id=42