composer怎么更新项目下的think文件

浏览:1740 发布日期:2018/12/10 分类:ThinkPHP5专区 关键字: 讨论 composer
我自己改过think这个文件,现在想改回官方版本,我可以从github上下载这个文件,但是能通过composer更新这个文件吗?
我在项目下composer update 没有效果
我的composer.json 是这样的{
    "name": "topthink/think",
    "description": "the new thinkphp framework",
    "type": "project",
    "keywords": [
        "framework",
        "thinkphp",
        "ORM"
    ],
    "homepage": "http://thinkphp.cn/",
    "license": "Apache-2.0",
    "authors": [
        {
            "name": "liu21st",
            "email": "liu21st@gmail.com"
        }
    ],
    "require": {
        "php": ">=5.4.0",
        "topthink/framework": "5.0.*"
    },
    "extra": {
        "think-path": "thinkphp"
    },
    "config": {
        "preferred-install": "dist"
    }
}
最佳答案
评论( 相关
后面还有条评论,点击查看>>