其他分享
首页 > 其他分享> > composer 命令

composer 命令

作者:互联网

"autoload": {
        "classmap": [
            "database"
        ],
        "psr-4": {
            "App\\": "app/"
        },
        "files":[
            "app/Common/function.php",
            "api/qqOauth/qqConnectAPI.php"
        ]
    },

  

比如我新增了一个qq的登录api(api/qqOauth/qqConnectAPI.php),引用上一直不生效,必须执行composer dump-autoload,自动加载才生效,它会把,这个自动加载写入  自动加载的配置文件中.

标签:app,autoload,命令,api,composer,php,加载
来源: https://www.cnblogs.com/roy1101/p/14167702.html