powerkernel / yii2-skeleton
Yii 2 Skeleton Project Template
Installs: 30
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 2
Forks: 2
Open Issues: 2
Type:project
Requires
- php: >=5.4.0
- codemix/yii2-localeurls: *
- conquer/select2: ~1.4.0
- himiklab/yii2-recaptcha-widget: *
- kotchuprik/yii2-sortable-widgets: *
- nirvana-msu/yii2-jsonld-helper: 1.0.*@dev
- omnilight/yii2-scheduling: *
- powerkernel/yii2-bootstrapsocial: *
- powerkernel/yii2-fineuploader: *
- powerkernel/yii2-jeditable: *
- powerkernel/yii2-photoswipe: *
- powerkernel/yii2-slugify: *
- powerkernel/yii2-theme-adminlte: *
- powerkernel/yii2-tinymce: *
- yiisoft/yii2: >=2.0
- yiisoft/yii2-authclient: ~2.1
- yiisoft/yii2-bootstrap: ~2.0
- yiisoft/yii2-jui: ~2.0
- yiisoft/yii2-swiftmailer: ~2.0
Requires (Dev)
- yiisoft/yii2-debug: ~2.0
- yiisoft/yii2-faker: ~2.0
- yiisoft/yii2-gii: ~2.0
This package is auto-updated.
Last update: 2024-12-16 21:35:29 UTC
README
Yii 2 Skeleton is a skeleton (based on Yii 2 App Advanced) application best for developing complex Web applications with multiple tiers.
The template includes 4 tiers: front end, back end, api and console, each of which is a separate Yii application.
The template is designed to work in a team development environment. It supports deploying the application in different environments.
Note: Yii 2 Skeleton only supports MongoDB
INSTALLATION
- Unzip repository, edit composer.json to suit your needs, then run
composer update
orcomposer update --prefer-source
- Run
init
, update your database information,baseUrl
in common/config/mail-local.php - Run
php yii mongodb-migrate --migrationPath=@console/migrations
- Run
php yii setup
- Go to frontend and sign up for new account, admin role will be auto assigned
- Go to backend and update all settings (reCaptcha, API, SMTP...)
- Generate icons from http://realfavicongenerator.net/, upload favicon.ico to the root of your web site (frontend and backend)
- (optional) update
gitHubPage
in common/config/params-local.php if you want to use github to host favicon and images.
Web server config
frontend/web => domain.com backend/web => backend.domain.com api/web => api.domain.com
Google Login Authorized redirect URIs
https://domain.com/account/auth?authclient=google https://backend.domain.com/account/login/google