composer下载组件
方法1、将需要用到的组件的依赖添加到包中
{
"require": {
"phpoffice/phpword": "v0.14.*"
}
}
composer update phpoffice/phpword
方法2:直接composer require phpoffice/phpword
方法1、将需要用到的组件的依赖添加到包中
{
"require": {
"phpoffice/phpword": "v0.14.*"
}
}
composer update phpoffice/phpword
方法2:直接composer require phpoffice/phpword