1. Go to this page and download the library: Download cinghie/yii2-user-extended library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
cinghie / yii2-user-extended example snippets
php composer.phar
'modules' => [
'user' => [
'class' => 'dektrium\user\Module',
// restrict access to recovery and registration controllers from backend
'as backend' => 'dektrium\user\filters\BackendFilter',
// Settings
'enableRegistration' => false,
],
],
'modules' => [
'user' => [
'class' => 'dektrium\user\Module',
// restrict access to recovery and registration controllers from backend
'as backend' => 'cinghie\userextended\filters\BackendFilter',
// Settings
'enableRegistration' => false,
],
],
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.