Yii 2 Lite Application Template with Bower vendor
Open Issues: 0
- php: >=5.4.0
- yidas/yii2-composer-bower-skip: ~2.0.0
- yiisoft/yii2: ~2.0.5
- 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: 2023-03-10 17:52:13 UTC
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.
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,
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.
config/web.phpfile by entering a secret key for the
'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
Please refer to Yii 2 Basic Project Template Document