dev-master
9999999-dev http://github.com/bryglenBryan Tan Yii Advanced Template
The Requires
- php >=5.3.0
yii web yii advanced template
Bryan Tan Yii Advanced Template
/protected config api/ contains api configurations backend/ contains backend configurations common/ contains shared configurations console/ contains console configurations frontend/ contains frontend configurations test/ contains test driven development configurations controllers api/ contains api controller backend/ contains backend controller frontend/ contains frontend controller models _base contains base models (generated by gii) _common contains common classes used in backend, frontend and api api contains api-specific classes backend contains backend-specific classes frontend contains frontend-specific classes /environment.php contains environment-based
The minimum requirement by Yii is that your Web server supports PHP 5.3.0., (*1)
In order for captcha to work you need either GD2 extension or ImageMagick PHP extension., (*2)
If you do not have Composer, you may download it from http://getcomposer.org/ or run the following command on Linux/Unix/MacOS:, (*3)
curl -s http://getcomposer.org/installer | php
You can then install the application using the following command:, (*4)
php composer.phar create-project --stability=dev bryglen/yii-advanced-template yii-advanced
Download source code from repository, (*5)
1. /assets - change permission to writable by webserver 2. /protected/runtime - change permission to writable by webserver 3. /uploads - change permission to writable by webserver 4. /environment.php - add your absolute path to $local_path 5. /protected/config/dbconnect.local.php - create a file and copy the format in dbconnect.sample.php (local development) and change the configuration
you should be able to access:, (*6)
http://localhost/bryantan/
http://localhost/bryantan/backend/
http://localhost/bryantan/api/
make sure you enable the modrewrite rule, (*7)
Reference: http://www.yiiframework.com/doc/guide/1.1/en/topics.url#hiding-x-23x, (*8)
Inspired By: http://www.yiiframework.com/wiki/63/organize-directories-for-applications-with-front-end-and-back-end-using-webapplicationend-behavior, (*9)
Since: Oct 25, 2013, (*10)
Author: bryantan16@gmail.com, (*11)
Version: 1.0.0, (*12)
Bryan Tan Yii Advanced Template
yii web yii advanced template