yongtiger/yii2-brainbase

Yii 2 Advanced Project Template


README

Latest Stable Version Total Downloads Latest Unstable Version License

Yii2 brainbase is a skeleton Yii 2 application based on the Yii2 Advanced Template best for developing complex Web applications with multiple tiers.

FEATURES

  • Internationalization
  • Perfect code annotation
  • All settings are read from DB or cache into a static array at frontend. Updates specified setting category at backend
  • Admin: rbac, menu, defaultRoles

REQUIREMENTS

INSTALLATION

The preferred way to install this project is through composer.

Either run

php composer.phar global require "fxp/composer-asset-plugin:~1.1.1"
php composer.phar create-project --prefer-dist --stability=dev yongtiger/yii2-brainbase yii2-brainbase

or

git clone https://github.com/yongtiger/yii2-brainbase.git
php composer.phar install

GETTING STARTED

  1. Configure environments: \yii2-brainbase\environments\dev\common\config\main-local.php, \yii2-brainbase\environments\prod\common\config\main-local.php.
  2. Run command init to initialize the application with a specific environment.
  3. Create a new database and adjust the components['db'] configuration in common/config/main-local.php accordingly.
  4. Apply migrations with console command yii migrate. This will create tables needed for the application to work.
  5. Example username/password: admin/123456.

USAGES

NOTES

DOCUMENTS

REFERENCES

SEE ALSO

TBD

DEVELOPMENT ROADMAP

LICENSE

yii2-brainbase is released under the MIT license, see LICENSE file for details.