跳转到主要内容
你行网

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.

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

  • 登录或注册以发表评论

文章标签

  • composer

评论

文章标签

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

相关文章

  • 检查 Composer 是否为官方源
  • Composer 中的最低稳定性是什么?
  • Composer 命令中文对照表
  • 在drupal 使用composer一次性安装多个模块
  • composer update 命令的参数列表
  • Composer 的常用命令
  • 为什么我会看到“不要以 root/超级用户身份运行 Composer”警告/错误?
  • composer 更新drupal 核心命令
  • composer切换国内或国外源
  • 使用composer管理drupal 命令手册
RSS源

友情链接 网站地图 版权信息 联系我们 网址导航 社区

Copyright © 2019 - 2021 你行网 版权所有  粤ICP备19072650号