![yii2 advanced get advanced root yii2 advanced get advanced root](https://helperbyte.com/files/questions/c1b0a128-2590-b336-1539-603be5266baa.jpg)
Change your working directory to _protected Once template is downloaded, you need to initialize it in one of two environments:ĭevelopment (dev) or production (prod). Now open up your console and cd to your web root directory,Ĭomposer create-project nenad/yii2-advanced-template advanced
![yii2 advanced get advanced root yii2 advanced get advanced root](https://img.cdncloud.top/uploader/eb20550097d42ad3fa35ddca8748037d30264c58.jpg)
Yii2 advanced get advanced root install#
I am assuming that you know how to: install and use Composer, and install additional packages/drivers that may be needed for you to run everything on your system.
Yii2 advanced get advanced root how to#
Nice example of how to use rbac in your code is given in this application.Roles can be easily assigned to users by administrators of the site (see: backend/user).RbacController's init() action will insert 5 roles and 2 permissions in our rbac tables created by migration.Rbac tables are installed with other migrations when you run yii migrate command.They can log in either by using their username|password combo or email|password. You can chose how users will login into system.Login using email/password or username/password combo.You can chose whether or not new users need to activate their account using email account activation system before they can log in.Application structure has been changed to be 'shared hosting friendly'.This template has additional features listed in the next section of this guide.There are several upgrades made to this template. Yii2-advanced-template is based on yii2-app-advanced created by yii2 core developers.