搜索
您的当前位置:首页正文

Composer简介及安装

来源:哗拓教育

Composer 是 PHP 的一个依赖管理工具。它允许你申明项目所依赖的代码库,它会在你的项目中为你安装他们。

在 Linux 和 Mac OS X 中可以运行如下命令:

Options:

-h, --help Display this help message 显示帮助信息

-q, --quiet Do not output any message 禁止输出任何信息

-V, --version Display this application version 显示当前应用程序的版本信息

--ansi Force ANSI output 强制 ANSI 输出

--no-ansi Disable ANSI output 关闭 ANSI 输出

-n, --no-interaction Do not ask any interactive question 不要询问任何交互问题

--profile Display timing and memory usage information 显示时间和内存使用信息

--no-plugins Whether to disable plugins. 是否禁用插件

-d, --working-dir=WORKING-DIR If specified, use the given directory as working directory. 如果指定的话,使用给定的目录作为工作目录

-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug  增加反馈信息的详细度 1表示正常输出,2表示更详细的输出,3则是为了 debug。 

Top