跳转到主要内容
你行网

Main navigation

  • 首页
  • 文章
  • 教程
  • 视频
  • 下载
  • 社区
  • 网站导航
User account menu
  • 登录

面包屑

  1. 首页

composer 中文对照使用说明

由 hrs, 9 八月, 2020

   ______
  / ____/___  ____ ___  ____  ____  ________  _____
 / /   / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
/ /___/ /_/ / / / / / / /_/ / /_/ (__  )  __/ /
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
                    /_/
Composer version 1.10.10 2020-08-03 11:35:19

Usage:
  command [options] [arguments]

命令[选项] [参数]

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.

                                                                如果指定,请使用给定目录作为工作目录。


      --no-cache                 Prevent use of the cache

                                           防止使用缓存


  -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表示调试

 

Available commands:   可用命令:


  about                Shows the short information about Composer.

                             显示有关Composer的简短信息。


  archive              Creates an archive of this composer package.

                              创建composer 程序包存档                            


  browse               Opens the package's repository URL or homepage in your browser.

                            在浏览器中打开软件包的存储库URL或主页。


  cc                   Clears composer's internal package cache.

                         清除composer的内部程序包缓存。


  check-platform-reqs      Check that platform requirements are satisfied.

                                           检查平台要求是否得到满足。


  clear-cache          Clears composer's internal package cache.

                                  清除composer的内部程序包缓存。


  clearcache           Clears composer's internal package cache.

                                清除composer的内部程序包缓存。


  config               Sets config options.

                             设置配置选项


  create-project       Creates new project from a package into given directory.

                                     从包创建新项目到给定目录。


  depends              Shows which packages cause the given package to be installed.

                                取决于显示显示哪些软件包导致安装给定软件包。


  diagnose             Diagnoses the system to identify common errors.

                               诊断诊断系统以识别常见错误。


  dump-autoload        Dumps the autoloader.

                                  转储自动加载器。


  dumpautoload         Dumps the autoloader.

                                  转储自动加载器。


  exec                 Executes a vendored binary/script.

                         执行供应的二进制文件/脚本。


  fund                 Discover how to help fund the maintenance of your dependencies.

                          资助了解如何为资助您的依存关系提供资助。


  global               Allows running commands in the global composer dir ($COMPOSER_HOME).

                               全局允许在全局编辑器目录($ COMPOSER_HOME)中运行命令。


  help                 Displays help for a command

                             显示命令帮助


  home                 Opens the package's repository URL or homepage in your browser.

                          主页在浏览器中打开软件包的存储库URL或主页。


  i                    Installs the project dependencies from the composer.lock file if present, or falls back on the composer.json.

                       如果存在的话,从composer.lock文件安装项目依赖项,或者依靠composer.json进行安装。


  info                 Shows information about packages.

                              信息显示有关软件包的信息。


  init                 Creates a basic composer.json file in current directory.

                           在当前目录中创建一个基本的composer.json文件。


  install              Installs the project dependencies from the composer.lock file if present, or falls back on the composer.json.

                               从composer.lock文件中安装项目依赖项(如果存在),或者依靠composer.json。


  licenses             Shows information about licenses of dependencies.

                          许可证显示有关依赖许可证的信息。

                          
  list                 Lists commands

                            列出命令


  outdated             Shows a list of installed packages that have updates available, including their latest version.

                            显示已安装的软件包列表,这些软件包具有可用的更新,包括最新版本。


  prohibits            Shows which packages prevent the given package from being installed.

                             禁止显示哪些软件包阻止安装给定的软件包。


  remove               Removes a package from the require or require-dev.

                           从require或require-dev中删除软件包。


  require              Adds required packages to your composer.json and installs them.

                              将必需的软件包添加到composer.json并安装它们。


  run                  Runs the scripts defined in composer.json.

                            运行composer.json中定义的脚本。


  run-script           Runs the scripts defined in composer.json.

                                运行composer.json中定义的脚本。


  search               Searches for packages.

                           搜索包。


  self-update          Updates composer.phar to the latest version.

                             将composer.phar更新到最新版本。


  selfupdate           Updates composer.phar to the latest version.

                             将composer.phar更新到最新版本。


  show                 Shows information about packages.

                          显示有关软件包的信息。


  status               Shows a list of locally modified packages, for packages installed from source.

                            显示从源安装的软件包的本地修改软件包的列表。


  suggests             Shows package suggestions.

                            显示包建议。


  u                    Upgrades your dependencies to the latest version according to composer.json, and updates the composer.lock file.

                          将根据composer.json将您的依赖项升级到最新版本,并更新composer.lock文件

。
  update               Upgrades your dependencies to the latest version according to composer.json, and updates the composer.lock file.

                            根据composer.json将依赖项升级到最新版本,并更新composer.lock文件。


  upgrade              Upgrades your dependencies to the latest version according to composer.json, and updates the composer.lock file.

                              根据composer.json将依赖项升级到最新版本,并更新composer.lock文件。


  validate             Validates a composer.json and composer.lock.

                                验证composer.json和composer.lock。


  why                  Shows which packages cause the given package to be installed.

                              显示显示哪些软件包导致给定软件包的安装。


  why-not              Shows which packages prevent the given package from being installed.

                             不显示显示哪些软件包阻止安装给定的软件包。

标签

  • composer
  • 登录或注册以发表评论

评论

相关文章

Composer 中的最低稳定性是什么?
Composer 命令中文对照表
在drupal 使用composer一次性安装多个模块
composer update 命令的参数列表
Composer 的常用命令
为什么我会看到“不要以 root/超级用户身份运行 Composer”警告/错误?
composer 更新drupal 核心命令
composer切换国内或国外源
使用composer管理drupal 命令手册
CentOS 7 安装 Composer
Linux Composer安装、升级、卸载
composer 修改库文件地址
composer 安装教程
composer 命令大全

文章标签

CSS
Excel
ubuntu
php
vim
五笔
Linux
HTML
command
drupal 7
composer
centos
Mysql
drupal 8
模块(module)
drush
JavaSrcipt
apache
VPN
drupal 9
英语
Drupal
nerdtree
SEO
network
surround
果树种植
drupal10
主题(theme)
phpmyadmin
ssh
权限
yum
二进制
声音
ssl
selinux
HTML5
用户
Dreamweaver
password
flameshot
颜色
翻译
uploadprogress
视图(views)
firewalld
DDEV
gzip
快捷键
kernel
xdebug
错误
ckeditor
mbstring
C语言
certbot
源地址
电脑基础
git
php扩展
apt
简介
压缩解压
表单
httpd
电子秤
breadcrumb
邮件验证
AI
superfish
diff
重定向
网站备份
tagclouds
java
WireGuard
摄影
docker
adsense
drupal9
短信验证
simple_adsense
csharp
电脑技巧
算法
RSS
youtube
JavaScript
版本号
badblocks
端口
cookie
VUE
网站运营
计算机基础
form
gimp
mod_expires 模块
nginx
http验证
zip
重定向,301
curl
dns
input
赚钱
maven
drupal 11
RFID
ip
drupal11
npm
标签优化
netstat
哈希值
字段
更多
RSS源
本站由阿里云强力驱动,幸运券优惠链接
Copyright © 2019 - 2021 你行网 版权所有  粤ICP备19072650号