2017 © Pedro Peláez

project hisite-template

HiSite Project Template



HiSite Project Template

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 14 % Grown


HiSite Template

HiSite Project Template, (*1)

Latest Stable Version Total Downloads Build Status Scrutinizer Code Coverage Scrutinizer Code Quality Dependency Status, (*2)

HiSite is a base project for building modular Yii2 web applications from plugins., (*3)

This package is a template to start your HiSite project with., (*4)

It includes:, (*5)

Live Demo, (*6)


Preferred way to install this project is through composer:, (*7)

composer create-project --stability=dev "hiqdev/hisite-template:*" dir

To finish project installation run:, (*8)

./vendor/bin/hidev deploy

You will see:, (*9)

Created dir:  ./public/
Created dir:  ./public/assets/
chmod ./public/assets '0777'
chmod ./runtime '0777'

And that's it — the project is ready to be served with web server. But hidev can do a bit more for you., (*10)

Also see more on recommended Directory structure of this template., (*11)

Generate and install NGINX vhost config

Copy .env.dist to .env and tune it to set project wide options:, (*12)

  • ENV - environment env/prod, will be used to setup YII_ENV constant
  • SSL - enable SSL, used for NGINX config
  • HOSTS - hostname(s), used for NGINX config

To see generated NGINX config without actually installing it use the following command:, (*13)

./vendor/bin/hidev nginx/dump

To install config and restart NGINX run:, (*14)

./vendor/bin/hidev nginx/deploy


This project is released under the terms of the BSD-3-Clause license. Read more here., (*15)

Copyright © 2016-2017, HiQDev (http://hiqdev.com/), (*16)

The Versions