dev-master
9999999-devYii2 module that allows basic athentication.
BSD-3-Clause
The Requires
by Alessandro Frenna
authentication user extension auth yii2 module yii
Wallogit.com
2017 © Pedro Peláez
Yii2 module that allows basic athentication.
Allow your users to connecto to your Yii application with this module., (*1)
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)
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",
],
],
Yii2 module that allows basic athentication.
BSD-3-Clause
authentication user extension auth yii2 module yii