composer require如何指定版本

下面由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

更多关于云服务器域名注册虚拟主机的问题,请访问西部数码官网:www.west.cn

赞(0)
声明:本网站发布的内容(图片、视频和文字)以原创、转载和分享网络内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-62778877-8306;邮箱:fanjiao@west.cn。本站原创内容未经允许不得转载,或转载时需注明出处:西部数码知识库 » composer require如何指定版本

登录

找回密码

注册