cheezery/depdoc
Composer 安装命令:
composer create-project cheezery/depdoc
包简介
Helps you document dependencies of your project
README 文档
README
DepDoc helps you document the dependencies of your project, currently supporting Composer and Node packages.
Usage
Creating and updating dependencies file
./vendor/bin/depdoc update
Creates and updates a DEPENDENCIES.md file in your repository, which contains every installed Composer and Node package, its version and description, and offers you a way to document why and how you use this package.
By adding a lock emoji (🔒) after the version number, you can document that this package should not be updated. Alternatively you can use 🛇, ⚠, or ✋.
Validating dependencies file
./vendor/bin/depdoc validate
Validates that every installed dependency is documented in DEPENDENCIES.md. Also makes sure that no package surpasses its locked version.
Use strict modes to verify your package version matches the documented dependencies.
./vendor/bin/depdoc validate --strict
Checks for major and minor version to match, i.e. installed 1.0.1 and documented 1.0.0 will bypass validation but installed 1.1.0 and documented 1.0.0 won't.
./vendor/bin/depdoc validate --very-strict
Checks for full semantic versioning match, i.e. installed 1.0.1 and documented 1.0.0 will not bypass validation.
Configuration
Configuration can be provided via .depdoc.json, .depdoc.yml or .depdoc.yml files in the root directory of your project.
Options
newlineCharacter
Default is \n but if you need a different one you can provide it.
lockSymbol
Default is "🔒". Alternatively you can use 🛇, ⚠, or ✋.
exportExternalLink
Default is true, but if you do not want the external link in your dependencies file you can deactivate it.
composer
Default is true, if you do not want to add composer dependencies set this to false
npm
Default is true, if you do not want to add npm dependencies set this to false.
cheezery/depdoc 适用场景与选型建议
cheezery/depdoc 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 29.07k 次下载、GitHub Stars 达 4, 最近一次更新时间为 2018 年 07 月 03 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 cheezery/depdoc 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 cheezery/depdoc 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 29.07k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-07-03