yidas / yii2-app-lite
Yii 2 Lite Application Template with Bower vendor
Installs: 106
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
Type:project
pkg:composer/yidas/yii2-app-lite
Requires
- php: >=5.4.0
- yidas/yii2-composer-bower-skip: ~2.0.0
- yiisoft/yii2: ~2.0.5
Requires (Dev)
- yiisoft/yii2-bootstrap: ~2.0.0
- yiisoft/yii2-debug: ~2.0.0
- yiisoft/yii2-gii: ~2.0.0
This package is auto-updated.
Last update: 2025-10-10 23:40:40 UTC
README
Yii 2 Light Application Template without Bower.
No Bower needed, less packages included, CDN Asset for View-Templates, let you start-up freely and refreshingly.
INTRODUCTION
This template is a lite version of Yii 2 template, which works without Bower on --no-dev environment. Following by yidas/yii2-app-basic, this package uses CDN Asset View-Templates, but includes fixed Bower just for Yii2 Debug and Gii tool only,
INSTALLATION
Install via Composer
If you do not have Composer, you may install it by following the instructions at getcomposer.org.
You can then install this project template using the following command:
composer create-project --prefer-dist yidas/yii2-app-lite
Also, you can make a minimal installation without development tool:
composer create-project --prefer-dist --no-dev yidas/yii2-app-lite
With --no-dev project, set to prod-env or remove the debug & gii usage from
config/web.phpto prevent error.
Install from an Archive File
Download yii2-app-lite-2.0.12 Archive
- 
Extract the downloaded file to a Web-accessible folder, which includes vendor already. 
- 
Modify the config/web.phpfile by entering a secret key for thecookieValidationKeyconfiguration item:
'request' => [
    // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
    'cookieValidationKey' => '<secret random string goes here>',
],
- Check and modify the permission of runtimeandweb/assetsfolders to777if needed.
DOCUMENTATION
Please refer to Yii 2 Basic Project Template Document