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 composer2. Directory structure of Yii source codeThe source code of Yii 2.0 framework is located in the vendor/yiisotf/yii2 directorybehaviors Behaviorcaching captcha -- Verification codeconsole use caching use use ’ using ’s use using through using ’’s through through ‐ through through ‐ ‐‐ ‐ ‐ di Dependency injection containerfilters 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!