- Based on yii2-advanced application template
- Beautiful and free dashboard theme for backend - http://almsaeedstudio.com/AdminLTE
- I18N + 2 translations: Ukrainian, Russian
- Sign in, Sign up, profile(avatar, locale, personal data) etc
- User management: CRUD
- Content management: articles, categories, static pages, editable menu, editable carousels, text blocks
- File storage component
- Upload widget
- Key value storage component
- System log
- System events log
- System information
- aceeditor, imperavi, elfinder
- nginx example config
http://yii2-starter-kit.terentev.net
http://backend.yii2-starter-kit.terentev.net
Login: webmaster
Password: webmaster
The minimum requirement by this application template that your Web server supports PHP 5.4.0.
Extract the github archive file to a directory named yii2-starter-kit
that is directly under the Web root.
After extraction run
php composer.phar global require "fxp/composer-asset-plugin:1.0.0-beta1"
php composer.phar install
You can then access the application through the following URL:
http://localhost/yii2-starter-kit/web/
If you do not have Composer, you may install it by following the instructions at getcomposer.org.
You can then install this application template using the following command:
php composer.phar create-project --prefer-dist --stability=dev trntv/yii2-starter-kit
Edit the file environments/local/common/config/_db.php
with real data, for example:
return [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=yii2-starter-kit',
'username' => 'root',
'password' => '1234',
'charset' => 'utf8',
];
NOTE: Yii won't create the database for you, this has to be done manually before you can access it.
Also check and edit the other files in the config/
directory to customize your application.
Edit the file environments/local/common/config/_aliases.php
Yii::setAlias('@frontendUrl', 'http://example.com');
Yii::setAlias('@backendUrl', 'http://backend.example.com');
Yii::setAlias('@storageUrl', 'http://storage.example.com');
php environments/local/console/yii migrate
php environmetns/local/console/yii rbac/init
IMPORTANT: without rbac/init you CAN'T LOG IN into backend
Login: webmaster
Password: webmaster
- Chained selects extension
- Upload Kit improvements
- Inline code documentation
- Tests
- Various improvements
- Permanent bug fixing ;)