composer require 指定版本
Posted jiqing9006
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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
以上是关于composer require 指定版本的主要内容,如果未能解决你的问题,请参考以下文章
docker-compose 安装 jenkins 指定版本