2017 © Pedro Peláez
 

yii2-extension yii2-user

Common user model, including identity and profile.

image

rhosocial/yii2-user

Common user model, including identity and profile.

  • PHP
  • 5 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 1 % Grown

The README.md

rhosocial/yii2-user

Common User & Profile Models for Yii 2., (*1)

Latest Stable Version License Code Coverage Scrutinizer Quality Score, (*2)

Introduction

This package consists of two models: - User: GUID, ID, Password Hash, IP Address, Timestamp, Password Refresh Token, Auth Key, Source, Status. - Profile: GUID (corresponding with GUID), Nickname, Timestamp., (*3)

Installation

The preferred way to install this extension is through composer, (*4)

Either run, (*5)

php composer.phar require rhosocial/yii2-user:dev-master

or add, (*6)

"rhosocial/yii2-user": "dev-master"

to the require section of your composer.json, (*7)

Basic Usage

Once the extension is installed, simply use it in your code by:, (*8)

class User extends \rhosocial\user\models\User
{
    ...
}

and, (*9)

class Profile extends \rhosocial\user\models\Profile
{
    ...
}

But the above Profile class does not contain email and phone attributes. The following SimpleProfile contains them (including corresponding rules):, (*10)

class Profile extends \rhosocial\user\models\SimpleProfile
{
    ...
}

further detailed usage seen in here., (*11)

The Versions

17/06 2017

dev-master

9999999-dev

Common user model, including identity and profile.

  Sources   Download

AGPLv3

The Requires

 

The Development Requires

by rhosocial

social user profile extension yii2 rho

25/03 2017

1.0.0-alpha2

1.0.0.0-alpha2

Common user model, including identity and profile.

  Sources   Download

AGPLv3

The Requires

 

by rhosocial

social user profile extension yii2 rho

22/03 2017

1.0.0-alpha

1.0.0.0-alpha

Common user model, including identity and profile.

  Sources   Download

AGPLv3

The Requires

 

by rhosocial

social user profile extension yii2 rho