PHPackages                             portalium/yii2-site - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. portalium/yii2-site

ActivePortalium-core[Framework](/categories/framework)

portalium/yii2-site
===================

Site Module for Portalium (Yii2)

0585↓50%10PHP

Since May 9Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/portalium/yii2-site)[ Packagist](https://packagist.org/packages/portalium/yii2-site)[ RSS](/packages/portalium-yii2-site/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (6)Used By (0)

Yii2 Site Management
====================

[](#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
------------

[](#requirements)

-PHP 7.4 or higher

Installation
------------

[](#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
-------------

[](#general-usage)

#### Login

[](#login)

The login method checks whether the mail control settings are enabled after verifying the user information.

### E-mail verification

[](#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

[](#resend-verification-email)

This method provides users with a way to resend verification emails when needed.

### Email Confirmation settings

[](#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

[](#code-contributors)

This project exists thanks to all the people who contribute.

Package development
-------------------

[](#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](https://www.yiiframework.com/doc/guide/2.0/en/concept-components)
- [Creating a controller](https://www.yiiframework.com/doc/guide/2.0/en/structure-controllers)
- [Creating a model](https://www.yiiframework.com/doc/guide/2.0/en/structure-models)
- [Creating a database migration](https://www.yiiframework.com/doc/guide/2.0/en/db-migrations)
- [Creating a view](https://www.yiiframework.com/doc/guide/2.0/en/structure-views)

License
-------

[](#license)

The Portalium is free software. It is released under the terms of the BSD License. Please see [`LICENSE`](./LICENSE.md) for more information.

Maintained by [Portalium Software](https://www.yiiframework.com/).

Follow updates
--------------

[](#follow-updates)

[![Linkedin](https://camo.githubusercontent.com/39104c18f38f7a00267ed5558815e5e698a81979dd4b741afed348a98d9cf26e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c696e6b6564696e2d6a6f696e2d3144413146323f7374796c653d666c6174266c6f676f3d6c696e6b6564696e)](https://www.linkedin.com/company/diginova-informatics/)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance60

Regular maintenance activity

Popularity20

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 Bus Factor1

Top contributor holds 70.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/479de2550ad555c5fe1ece5ced49a05a57f2606c94c3bef7014ac8b4c0e58d91?d=identicon)[diginova](/maintainers/diginova)

---

Top Contributors

[![demirmehmet0](https://avatars.githubusercontent.com/u/56119655?v=4)](https://github.com/demirmehmet0 "demirmehmet0 (279 commits)")[![ulkuiremdeniz](https://avatars.githubusercontent.com/u/129794760?v=4)](https://github.com/ulkuiremdeniz "ulkuiremdeniz (36 commits)")[![uguryildiz](https://avatars.githubusercontent.com/u/180589?v=4)](https://github.com/uguryildiz "uguryildiz (15 commits)")[![sudesuvar](https://avatars.githubusercontent.com/u/116346438?v=4)](https://github.com/sudesuvar "sudesuvar (15 commits)")[![oguzkaanyuksel](https://avatars.githubusercontent.com/u/214555563?v=4)](https://github.com/oguzkaanyuksel "oguzkaanyuksel (13 commits)")[![aydogdu25](https://avatars.githubusercontent.com/u/121028208?v=4)](https://github.com/aydogdu25 "aydogdu25 (8 commits)")[![eges7](https://avatars.githubusercontent.com/u/44262725?v=4)](https://github.com/eges7 "eges7 (7 commits)")[![irmakyuceak](https://avatars.githubusercontent.com/u/162887333?v=4)](https://github.com/irmakyuceak "irmakyuceak (6 commits)")[![BerkAkin](https://avatars.githubusercontent.com/u/56769507?v=4)](https://github.com/BerkAkin "BerkAkin (6 commits)")[![iasik](https://avatars.githubusercontent.com/u/10836707?v=4)](https://github.com/iasik "iasik (4 commits)")[![mustafakahveci](https://avatars.githubusercontent.com/u/77697097?v=4)](https://github.com/mustafakahveci "mustafakahveci (3 commits)")[![KerimDogan149](https://avatars.githubusercontent.com/u/170484272?v=4)](https://github.com/KerimDogan149 "KerimDogan149 (2 commits)")[![mberkbayturk](https://avatars.githubusercontent.com/u/77491937?v=4)](https://github.com/mberkbayturk "mberkbayturk (2 commits)")[![MHR41](https://avatars.githubusercontent.com/u/91452487?v=4)](https://github.com/MHR41 "MHR41 (1 commits)")[![coderbaha](https://avatars.githubusercontent.com/u/62606280?v=4)](https://github.com/coderbaha "coderbaha (1 commits)")

### Embed Badge

![Health badge](/badges/portalium-yii2-site/health.svg)

```
[![Health](https://phpackages.com/badges/portalium-yii2-site/health.svg)](https://phpackages.com/packages/portalium-yii2-site)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
