composer怎么查看已经安装的扩展包

PHPz
Release: 2020-09-05 09:45:38
Original
3635 people have browsed it

composer怎么查看已经安装的扩展包

composer查看已经安装的扩展包的方法:

我们有时候需要知道已经安装的包的名称和版本信息,会用到如下命令:

composer show -i

这个试composer show –installed的短命令;

查看全局安装的包名称和版本:

composer global show

我们不知道有哪些命令以及如何使用的时候,可以列出所有的命令,然后敲你不明白的命令,在后面加-h就可以查看相应的帮助信息:

查看所有composer命令:

composer -l

或者:composer

或者:composer list

然后就会出来很多命令,随便挑一个:

composer show -h

这个命令的意思是如何使用composer show ,-h是–help的缩写。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!