composerrequire如何指定版本

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

创新互联建站长期为1000+客户提供的网站建设服务,团队从业经验10年,关注不同地域、不同群体,并针对不同对象提供差异化的产品和服务;打造开放共赢平台,与合作伙伴共同营造健康的互联网生态环境。为南溪企业提供专业的成都网站设计、网站制作南溪网站改版等技术服务。拥有十载丰富建站经验和众多成功案例,为您定制开发。

默认

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

新闻标题:composerrequire如何指定版本
文章位置:http://scyanting.com/article/cghdoj.html