phplaravel配置公共函数helper 1、在项目APP目录下新建Helper文件,再新建一个helper.php文件作为公共函数存储的文件。 2、在composer.json添加 "autoload": { "classmap": [ "database" ... admin 7年前 (2017-07-26) 1590℃ 0喜欢