mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-20 10:27:18 +08:00
mentioned installing from Composer in docs
This commit is contained in:
@ -1,7 +1,23 @@
|
|||||||
Installation
|
Installation
|
||||||
============
|
============
|
||||||
|
|
||||||
Installation of Yii mainly involves the following two steps:
|
Installing via Composer
|
||||||
|
-----------------------
|
||||||
|
|
||||||
|
The recommended way of installing Yii is by using Composer package manager.
|
||||||
|
|
||||||
|
There are two application templates available:
|
||||||
|
|
||||||
|
- [basic](https://github.com/yiisoft/yii2-app-basic) that is just a basic frontend application template.
|
||||||
|
- [advanced](https://github.com/yiisoft/yii2-app-advanced) that is a set of frontend, backend, console, common
|
||||||
|
(shared code) and environments support.
|
||||||
|
|
||||||
|
Please refer to installation instructions on these pages.
|
||||||
|
|
||||||
|
Installing from zip
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
Installation from zip mainly involves the following two steps:
|
||||||
|
|
||||||
1. Download Yii Framework from [yiiframework.com](http://www.yiiframework.com/).
|
1. Download Yii Framework from [yiiframework.com](http://www.yiiframework.com/).
|
||||||
2. Unpack the Yii release file to a Web-accessible directory.
|
2. Unpack the Yii release file to a Web-accessible directory.
|
||||||
@ -12,7 +28,6 @@ needs to be exposed to Web users. Other PHP scripts, including those from
|
|||||||
Yii, should be protected from Web access; otherwise they might be exploited
|
Yii, should be protected from Web access; otherwise they might be exploited
|
||||||
by hackers.
|
by hackers.
|
||||||
|
|
||||||
|
|
||||||
Requirements
|
Requirements
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user