portalium/yii2-site

Site Module for Portalium (Yii2)

Installs: 193

Dependents: 5

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 3

Open Issues: 0

Type:portalium-core

dev-main 2024-04-30 13:30 UTC

This package is auto-updated.

Last update: 2024-04-30 13:30:06 UTC


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:

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

Linkedin