- Based on yii2-advanced application template
- Beautiful and free dashboard theme for backend - http://almsaeedstudio.com/AdminLTE
- I18N + 2 translations: Ukrainian, Russian
- I18N DbMessageSource CRUD module +
MessageMigrateController
to migrate translations between formats - 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 + custom upload widget (https://github.com/trntv/yii2-file-kit)
- Key value storage component
- System log
- System events log
- System information
- aceeditor, imperavi, elfinder
- nginx example config
- example deploy script
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-beta3"
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/bootstrap.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 environments/local/console/yii rbac/init
IMPORTANT: without rbac/init you CAN'T LOG IN into backend
Login: webmaster
Password: webmaster
If you want to store application messages in DB and to have ability to edit them from backend, run:
php environments/local/console/yii message-migrate @common/config/messages/php.php @common/config/messages/db.php
it will copy all existing messages to database
Then uncomment config for DbMessageSource
in
common/config/_base.php
- Chained selects extension
- jGrowl widget
- DbMessageSource management module
- Upload Kit improvements
- Inline code documentation
- Tests
- Various improvements
- Permanent bug fixing ;)
mail to [email protected]