Home > PHP Framework > YII > Where is the yii root directory?

Where is the yii root directory?

藏色散人
Release: 2020-07-18 16:46:42
Original
3059 people have browsed it

The yii root directory refers to the project directory, which is the "basic" directory. Developers can develop any projects based on this directory, such as websites, crm, malls, etc.; while the directory of the yii2 framework refers to "vendor/ yiisoft" directory.

Where is the yii root directory?

Where is the yii root directory?

The root directory of the framework is never the directory where you installed it. The installation directory is generally the project directory. That is the basic directory in the picture above.

The framework directory is the core directory and will not be modified by you. If you modify it, you will modify the framework source code.

The relationship between the project directory and the framework directory. No PHP framework can be played alone. Projects need to be based on the framework, and the same is true for yii2.

So, basic is the project directory, based on which you can develop any project: such as website, crm, mall, etc.

No matter what project is developed, the development habits and development logic are all based on the yii2 framework.

The directory of the yii2 framework is vendor/yiisoft. This is the directory of the yii2 framework.

These concepts need to be distinguished.

Recommended: "yii tutorial"

The above is the detailed content of Where is the yii root directory?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
yii
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template