composer下载组件

方法1、将需要用到的组件的依赖添加到包中

{

    "require": {

       "phpoffice/phpword": "v0.14.*"

    }

}

composer update phpoffice/phpword

方法2:直接composer require phpoffice/phpword

posted @ 2018-08-10 10:34  bigclould  阅读(360)  评论(0编辑  收藏  举报