portalium/yii2-site
Composer 安装命令:
composer require portalium/yii2-site
包简介
Site Module for Portalium (Yii2)
README 文档
README
Yii2 Site Management
This module allows you to create a new user and enables an existing user to log in.
- Login and signup.
- Getting currently logged in identity.
- Active-passive user control
- E-mail verification
- Resending the verification email
- E-mail confirmation settings
Requirements
-PHP 7.4 or higher
Installation
composer require portalium/yii2-site "*"
or for the dev-master
composer require portalium/yii2-site "*"
Or, you may add
"portalium/yii2-site": "*"
to the require section of your composer.json file and execute composer update.
General usage
Login
The login method checks whether the mail control settings are enabled after verifying the user information.
E-mail verification
The actionVerifyEmail method is a function that performs the email verification process for the user and does so using a token.
Resend Verification Email
This method provides users with a way to resend verification emails when needed.
Email Confirmation settings
It inserts a setting named 'Email Confirmation' into a database table associated with the 'site' module. This setting is displayed in the user interface using a radio button. The 'Email Confirmation' option can be set as 'Active' or 'Passive', and based on this selection.
Code Contributors
This project exists thanks to all the people who contribute.
Package development
Once you have created your package, you can create the components, controllers, models, database migrations, and views within the package.
Here are some links with more information about components, controllers, models, database migrations, and views:
- Creating a component
- Creating a controller
- Creating a model
- Creating a database migration
- Creating a view
License
The Portalium is free software. It is released under the terms of the BSD License.
Please see LICENSE for more information.
Maintained by Portalium Software.
Follow updates
统计信息
- 总下载量: 519
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 5
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-05-16