composer命令安装指定版本的软件包

composer require “软件包:版本号” ,例如:

composer require "illuminate/redis:5.5.*"
composer require "predis/predis:^1.1"
composer require "foo/bar:1.0.0"

你可能感兴趣的:(PHP,LAMP,composer,require,版本号,composer安装软件,composer,安装指定版本软件)