Home> PHP Framework> YII> body text

Where is the directory of yii in the php yii framework?

藏色散人
Release: 2020-01-15 09:07:05
Original
2558 people have browsed it

Where is the directory of yii in the php yii framework?

php Where is the directory of yii in the yii framework?

The directory structure of the Yii 2.0 framework

Recommended learning:yii tutorial

1. Directory structure of the project

Basic version:

Folders under the basic directory:

commands Console

config Configuration file

console.php Console configuration

db.php Database connection configuration

params.php Project Variable configuration in web.php files and log files), writing permission is required

vendor Stores Yii source code and project dependency libraries installed through composer

views View layer

web The directory pointed to by the domain name, including Entry file, which can store css, js, img, font and other static resources

Advanced version:

Each folder under the advanced directory:

backend Backend application

COMMON Public Catalog

Console Console Application

# ENVIRONMENTS Environment Catalog (Development Environment and Production Environment)

## FrontEnd front desk application

VENDOR store yii The source code and project dependency libraries installed through composer

2. Directory structure of Yii source code

The source code of Yii 2.0 framework is located in the vendor/yiisotf/yii2 directory

behaviors Behavior

caching

captcha -- Verification code

console use

caching use use ’ using ’s use using through using ’’s through through ‐ through through ‐ ‐‐ ‐ ‐ di Dependency injection container

filters

helpers

rbac

Requirements Framework Running Environment

## Resin RESTFUL Web Service

Validators Data Verification

Views View #widgets #widgets

The above is the detailed content of Where is the directory of yii in the php yii framework?. 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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!