当前位置: 首页 > 新闻动态 > 技术教程

composer require如何指定版本

作者:藏色散人 浏览: 发布日期:2020-08-19
[导读]:下面由composer​教程栏目给大家介绍composer require指定版本的方法,希望对需要的朋友有所帮助!默认:composer require endroid/qr-code...

下面由composer教程栏目给大家介绍composer require指定版本的方法,希望对需要的朋友有所帮助!

默认

composer require endroid/qr-code

指定版本

composer require endroid/qr-code 1.9.3
# composer require endroid/qr-code 1.9.3
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
  - Removing endroid/qr-code (2.5.1)
  - Installing endroid/qr-code (1.9.3): Downloading (100%)         
    The Process class relies on proc_open, which is not available on your PHP installation.
    The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
    Unzip with unzip command failed, falling back to ZipArchive class
Writing lock file
Generating autoload files
免责声明:转载请注明出处:http://www.sczxchw.cn/news/486294.html

扫一扫高效沟通

多一份参考总有益处

免费领取网站策划SEO优化策划方案

请填写下方表单,我们会尽快与您联系
感谢您的咨询,我们会尽快给您回复!