2017 © Pedro Peláez
 

yii2-extension auth

Yii2 module that allows basic athentication.

image

frenna/auth

Yii2 module that allows basic athentication.

  • Sunday, October 8, 2017
  • by alessandrofrenna
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Auth module for Yii2

Allow your users to connecto to your Yii application with this module., (*1)

Installation

To install the module, you have to do:, (*2)

composer require frenna\auth, (*3)

or import the package inside your require section in composer.json, (*4)

"frenna\auth" : "dev-master", (*5)

Configuration

Inside your main Yii2 configuration file, you should add the following section:, (*6)

  //Other configuration options
  "modules" => [
      "auth" => [
          "class" => "frenna\auth\models\User",
      ],
  ],

Edit also your components section to set the appropriate user:, (*7)

  //Other configuration options
  "components" => [
      //Other components
      "user" => [
          "class" => "frenna\auth\models\User",
      ],
  ],

The Versions

08/10 2017

dev-master

9999999-dev

Yii2 module that allows basic athentication.

  Sources   Download

BSD-3-Clause

The Requires

 

by Alessandro Frenna

authentication user extension auth yii2 module yii