%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/11584/cwd/html/water/vendor/dektrium/yii2-user/docs/ |
Upload File : |
# Getting started with Yii2-user Yii2-user is designed to work out of the box. It means that installation requires minimal steps. Only one configuration step should be taken and you are ready to have user management on your Yii2 website. > If you're using Yii2 advanced template, you should read [this article](usage-with-advanced-template.md) firstly. ### 1. Download Yii2-user can be installed using composer. Run following command to download and install Yii2-user: ```bash composer require dektrium/yii2-user ``` ### 2. Configure > **NOTE:** Make sure that you don't have `user` component configuration in your config files. Add following lines to your main configuration file: ```php 'modules' => [ 'user' => [ 'class' => 'dektrium\user\Module', ], ], ``` ### 3. Update database schema The last thing you need to do is updating your database schema by applying the migrations. Make sure that you have properly configured `db` application component and run the following command: ```bash $ php yii migrate/up --migrationPath=@vendor/dektrium/yii2-user/migrations ``` ## Where do I go now? You have Yii2-user installed. Now you can check out the [list of articles](README.md) for more information. ## Troubleshooting If you're having troubles with Yii2-user, make sure to check out the [troubleshooting guide](troubleshooting.md).