文档
相关文章
- 别名 Alias branch names to versions
- 私有托管包和仓库的身份验证 Access privately hosted packages/repositories
- 优化自动加载 如何降低自动加载的性能影响
- 设置和使用自定义安装程序 Modify the way certain types of packages are installed
- 处理私有包 Hosting and installing private Composer packages
- 设置和使用插件 Modify and extend Composer's functionality
- 存储库优先级 Configure which packages are found in which repositories
- 脚本 Script are callbacks that are called before/after installing packages
- 排错 Solving problems
- Vendor 二进制文件 和 `vendor/bin` 目录 Expose command-line scripts from packages
- 版本约束 版本解释
常见问题
- 如何将包安装到框架的自定义路径?
- 我如何以编程方式安装Composer?
- 如何安全地安装不受信任的软件包?将 Composer 作为超级用户或 root 运行是否安全?
- 我应该在vendor目录中提交依赖项吗?
- Composer 本身使用哪个版本编号系统?
- 为什么未绑定版本约束是个坏主意?
- 为什么将比较和通配符相结合的版本约束是个坏主意?
- 为什么 Composer 不能递归加载库?
API 文档
如果您需要将composer作为库使用,您可能还需要查看 源码