根据历史文件中的内容拷贝 #1

Merged
honeymoose merged 135 commits from composer-doc-cn into main 2024-04-08 21:23:31 -04:00
3 changed files with 9 additions and 7 deletions
Showing only changes of commit 943c92bbfd - Show all commits

View File

@ -5,6 +5,11 @@ Composer 中文文档
---
希望更多的朋友能够参与此文档的翻译、勘误(您可以 Fork 本项目,并提交 Pull Request
部分内容现阶段无法译全,已在 [issues](https://github.com/5-say/composer-doc-cn/issues) 中列出,如果能够收到您的宝贵建议,必将感激不尽。
---
## Book
- [简介](/cn-introduction/00-intro.md)
- [基本用法](/cn-introduction/01-basic-usage.md)

View File

@ -327,10 +327,7 @@ composer 原生支持以下4种类型
#### provide
List of other packages that are provided by this package. This is mostly
useful for common interfaces. A package could depend on some virtual
`logger` package, any library that implements this logger interface would
simply list it in `provide`.
List of other packages that are provided by this package. This is mostly useful for common interfaces. A package could depend on some virtual `logger` package, any library that implements this logger interface would simply list it in `provide`.
### suggest

View File

@ -51,13 +51,13 @@ Composer 是一个依赖管理工具。它在本地安装一些资源包。一
}
}
`@composer.json` 标记将会从 作为最低版本: would be the contents of the `composer.json` from that package version including as a minimum:
`@composer.json` 标记将会从此包的指定版本中读取 `composer.json` 的内容,其内至少应包含以下信息:
* name
* version
* dist or source
这是一个最的包定义:
这是一个最简单的包定义:
{
"name": "smarty/smarty",
@ -68,7 +68,7 @@ Composer 是一个依赖管理工具。它在本地安装一些资源包。一
}
}
它可以包含任何在 [架构](04-schema.md) 中介绍的字段。
可以包含任何在 [架构](04-schema.md) 中介绍的字段。
#### notify-batch