3.8.1
This commit is contained in:
11
plugins/README.md
Normal file
11
plugins/README.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# 第三方插件初始化文件
|
||||
|
||||
## 加载时机
|
||||
加载时机为./config/di.php完成PhalApi框架初始之后,在项目进行初始化之前
|
||||
|
||||
## 文件名
|
||||
文件名,使用插件名作为文件名,推荐使用小写蛇形命名格式,例如:demo.php。
|
||||
|
||||
## 加载顺序
|
||||
插件与插件之间的加载顺序不分先后,默认以操作系统扫描文件的顺序加载。如果需要指定依赖关系,可在手动```include_once```。
|
||||
|
||||
Reference in New Issue
Block a user