composer设置全局辅助函数

·

参考下面的代码,其中files中写的就是包含全局辅助函数的文件。

"autoload": {
        "classmap": [
            "src/"
        ], "files": [
            "src/tools.php"
        ]
}

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Captcha Code