PHP code example of polgarz / evolun-user

1. Go to this page and download the library: Download polgarz/evolun-user 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/ */

    

polgarz / evolun-user example snippets


'components' => [
    ...
    'user' => [
        'identityClass' => 'evolun\user\models\User',
        'enableAutoLogin' => true,
        'loginUrl' => ['user/default/login'],
    ],
]

'modules' => [
    'user' => [
        'class' => 'evolun\user\Module',
        'modules' => [
            'profile' => [
                'class' => 'evolun\user\modules\profile\Module',
            ],
            'event' => [
                'class' => 'evolun\user\modules\event\Module',
            ],
        ]
    ],
],

php composer.phar 

php yii migrate/up --migrationPath=@vendor/polgarz/evolun-user/migrations