Download the PHP package pa3py6aka/yii2-advanced-optimized without Composer
On this page you can find all versions of the php package pa3py6aka/yii2-advanced-optimized. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pa3py6aka/yii2-advanced-optimized
More information about pa3py6aka/yii2-advanced-optimized
Files in pa3py6aka/yii2-advanced-optimized
Package yii2-advanced-optimized
Short Description Yii2 optimized template based on advanced template
License BSD-3-Clause
Homepage http://yiiframework.com
Informations about the package yii2-advanced-optimized
Yii 2 Advanced and Slightly Optimized Template
Yii 2 Advanced Optimized Project Template is the fork of Yii2 Advanced template.
Note: This is alpha version of template. All contributings are welcome!
Whats new
- Uses Bootstrap 4
- Authorization forms in modal blocks with ajax validation
- Authorization by social networks using
yiisoft/yii2-authclient
- Default RBAC. Uses three roles -
user
,moderator
,admin
. User can manage his content, moderator can manage all users content, admin has moderators access. You can apply to admins more privileges. Manage it inconsole/controllers/RbacController.php
. After changes, executephp yii rbac/init
command in the terminal (of course you must be in project directory). - IDE autocompletion for custom components. Not forget exclude or "Mark as Plain Text" vendor/yiisoft/yii2/Yii.php file.
- Added frontend and backend url manager components. And url rules moves in separates files.
- Tabler template for backend on Bootstrap 4 (Tabler)
- And more
Installation
By Composer:
composer create-project --prefer-dist pa3py6aka/yii2-advanced-optimized my-new-application
The command installs the project in a directory named my-new-application
. You can choose a different
directory name if you want.
Open a console terminal, execute the init
command and select dev
as environment.
Create a new database and adjust the components['db']
configuration in /path/to/yii-application/common/config/main-local.php
accordingly.
Open a console terminal, apply migrations with command /path/to/php-bin/php /path/to/yii-application/yii migrate
.
Initialize RBAC:
Create Administrator user:
Sign up on frontend site, then go to console and assign admin
role to created user:
Contributing
All versions of yii2-advanced-optimized with dependencies
yiisoft/yii2 Version ~2.0.14
yiisoft/yii2-bootstrap Version ~2.0.0
yiisoft/yii2-swiftmailer Version ~2.0.0 || ~2.1.0
dmstr/yii2-adminlte-asset Version ^2.1
fishvision/yii2-migrate Version *
yiisoft/yii2-authclient Version ~2.1.0
yiisoft/yii2-bootstrap4 Version ^2.0