vfunin/dev-ci-kit
Composer 安装命令:
composer require vfunin/dev-ci-kit
包简介
A composer plugin that provides local CI toolkit for efficient development.
README 文档
README
Dev CI Kit
The package provides a pre-configured set of code quality checking tools based on GrumPHP.
Requirements
- php
- git
- composer
- xdebug (optional) - for code coverage and mutation testing.
Installation
Install Dev CI Kit with dependencies:
composer require --dev vfunin/dev-ci-kit --update-with-all-dependencies
After installation, configuration file templates will be copied to your project's root directory with a .dist extension. If your project does not already have the corresponding file, simply remove the extension, or use your own configuration.
Important
If the ./app or /src directories do not exist in your project, you should remove the corresponding checks from the phpunit.xml, psalm.xml, rector.php, phpcs.xml, infection.json and deptrac.yaml.
Basic usage
Since the package is built on GrumPHP, its usage is entirely identical:
vendor/bin/grumphp run
Or simply commit some changes because "GrumPHP is sniffing your commits" :)
Also, feel free to use tools individually for spot-checking, like
vendor/bin/infection
And of course, you can modify the GrumPHP configuration in the grumphp.yml file. For example, you can disable tasks by simply removing them from testsuites: * : tasks:.
About
Submitting bugs and feature requests
Bugs and feature request are tracked on GitHub.
License
Dev CI Kit is licensed under the MIT License.
vfunin/dev-ci-kit 适用场景与选型建议
vfunin/dev-ci-kit 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 47 次下载、GitHub Stars 达 2, 最近一次更新时间为 2023 年 07 月 27 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 vfunin/dev-ci-kit 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 vfunin/dev-ci-kit 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 47
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-07-27