跳转到主要内容
你行网

Main navigation

  • 首页
  • Drupal
  • 编程与开发
  • 数据库
  • 操作系统与应用
  • 服务器与运维
  • 社区
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.

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

  • 登录或注册以发表评论
  • 155 次浏览
内容类型分类
操作系统与运用
文章归类
Linux

文章标签

  • composer

评论

最新文章

  • mysql 签名无效更新报错误问题
  • 网站用户会员积分设计方案
  • Views Bulk Operations (VBO) 这个模块有什么作用,应用场景是什么。
  • 配置一个完整的Web服务器环境(LNMP:Linux + Nginx + MySQL + PHP)。
  • Nginx 各种应用场景
  • 什么是无头cms
  • 什么是站群
  • drupal 10如何配置nginx 服务器
  • nginx 多站点配置方法
  • OpenClaw 帮助文件的翻译版本
更多

标签云

adsenseAIApacheaptbadblocksbreadcrumbbrewcentoscertbotckeditorcommandcomposercookiecsharpCSScurlC语言DDEVdiffdnsdockerDreamweaverDrupaldrupal 7drupal 8drupal 9drupal10drupal 11drushExcelfirewalldfirmwareflameshotformgimpgitgzipHTMLHTML5httpdhttp验证inputipjavaJavaScriptJavaSrciptkernelKVMLinuxmavenmbstringmod_expires 模块MysqlnerdtreenetstatnetworknginxnpmOpenClawpasswordphpphpmyadminphp扩展RFIDRSSselinuxSEOsharesimple_adsensesshsslStatisticssuperfishsurroundtagcloudstitleubuntuuploadprogressViews Bulk OperationsvimVPNVUEweb服务器WireGuardwpsxdebugyoutubeyumzip主题主题(theme)二进制五笔分类术语压缩解压哈希值声音字段密码工作流快捷键摄影无头cms更新权限果树种植标签优化模块模块(module)源地址版本号电子秤电脑基础电脑技巧短信验证积分站群端口简介算法网站备份网站安全网站运营翻译英语表单视图(views)计算机基础赚钱超五类线网线邮件验证重定向重定向,301错误颜色

相关文章

  • 配置一个完整的Web服务器环境(LNMP:Linux + Nginx + MySQL + PHP)。
  • Nginx 各种应用场景
  • 什么是无头cms
  • 什么是站群
  • drupal 10如何配置nginx 服务器
  • nginx 多站点配置方法
  • OpenClaw AI助手成本优化完全指南:从每天1900万Token降到合理范围
  • vim 复制粘贴的几种方法
  • OpenClaw 2026.4.2 命令简介
  • brew 是什么命令
RSS源

关于我们

  • 你行网简介
  • 关于我们
  • 版权声明

网站相关

  • 社区论坛
  • 站点反馈
  • 网址导航
  • 网站地图

友情链接

  • 申请链接
  • 英文学习

友情链接2

  • drupal 大学
  • 水滴间
  • 爱码网
  • Apache

友情链接3

  • MySQL
  • php
  • drupalcode

友情链接4

  • Drupal 中国
  • Drupal 老葛
  • 宁浩网
  • drupal 台湾
Copyright © 2019 - 2021 你行网 版权所有  粤ICP备19072650号-1