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
composer update
or composer update --prefer-source
init
, update your database information, baseUrl
in common/config/mail-local.phpphp yii mongodb-migrate --migrationPath=@console/migrations
php yii setup
gitHubPage
in common/config/params-local.php if you want to use github to host favicon and images.frontend/web => domain.com backend/web => backend.domain.com api/web => api.domain.com
https://domain.com/account/auth?authclient=google https://backend.domain.com/account/login/google
Comments