rockielin/yii2-simple-template

Yii2 simple template for demo


Keywords
framework, Simple, yii2, project template
License
BSD-3-Clause

Documentation

Yii 2 Simple Project Template

Simple Project Template for demo, only has frontend but include simple admin panel which login by htpasswd, just practice dont use in production.

Latest Stable Version Total Downloads

INSTALLATION

You can choose to install the application using one of the following methods.

Install via Composer

If you do not have Composer, you may install it by following the instructions at getcomposer.org.

You can then install the application using the following command:

php composer.phar global require "fxp/composer-asset-plugin:^1.2.0"
php composer.phar create-project --prefer-dist --stability=dev rockielin/yii2-simple-template project-name

SETTING

modify front/congif/main.php setting site domain, db information

modify front/congif/params.php setting optionals

Enable debug:

create file "develop.me" in /config/

Admin Auth SETTING:

With Apache modify front/web/.htaccess

With Nginx modify front/web/.htaccess