定制 vfunin/dev-ci-kit 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

vfunin/dev-ci-kit

最新稳定版本:v0.2.0

Composer 安装命令:

composer require vfunin/dev-ci-kit

包简介

A composer plugin that provides local CI toolkit for efficient development.

README 文档

README

Total Downloads Build status Mutation testing badge codecov psalm-level type-coverage

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.

统计信息

  • 总下载量: 47
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-27