frenna / auth
Yii2 module that allows basic athentication.
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: ~2.0.12
This package is not auto-updated.
Last update: 2025-07-19 08:09:00 UTC
README
Allow your users to connecto to your Yii application with this module.
Installation
To install the module, you have to do:
composer require frenna\auth
or import the package inside your require
section in composer.json
"frenna\auth" : "dev-master"
Configuration
Inside your main Yii2 configuration file, you should add the following section:
//Other configuration options "modules" => [ "auth" => [ "class" => "frenna\auth\models\User", ], ],
Edit also your components
section to set the appropriate user
:
//Other configuration options "components" => [ //Other components "user" => [ "class" => "frenna\auth\models\User", ], ],