awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
phpro avatar

phpro/grumphp

0
View on GitHub↗
4,294 星标·447 分支·PHP·MIT·8 次浏览

Grumphp

GrumPHP 是一个 Git 提交验证器和 PHP 代码质量编排器。它充当 Git 钩子 (hook) 管理器,自动化脚本触发器的安装和执行,以在 PHP 项目中强制执行代码质量标准。

该工具通过在 Git 工作流期间运行一系列验证和 linting 任务,防止不合规的代码被提交。它将自动化质量检查直接集成到本地开发环境中,以维护项目标准。

该系统通过执行质量测试和自动化 Git 钩子来管理预提交 (pre-commit) 测试工作流。它使用基于任务的流水线来运行验证工具,并验证退出代码以确定是否应完成提交。

Features

  • Git Hook Managers - Automates the installation and execution of Git hooks to enforce code quality standards in PHP projects.
  • Git Hook Management - Automates the installation and orchestration of shell scripts within the local Git directory to trigger PHP processes.
  • Pre-commit Hooks - Prevents substandard code from entering the repository by running quality checks before a commit is finalized.
  • Local Test Execution - Executes a suite of validation tasks and tests locally on the codebase to ensure standards are met before committing.
  • PHP Language Standards - Runs a suite of validation tests and checks specifically on PHP code to maintain project standards.
  • Code Quality Tools - Orchestrates a suite of validation and linting tools to enforce coding standards before code is committed.
  • Commit Validators - Prevents non-compliant code from being committed by running automated tests and checks during the Git workflow.
  • Changed-File Linting - Optimizes execution by identifying modified files via Git status and targeting only changed source code for validation.
  • PHP Development Tools - Integrates automated quality tools directly into the local PHP development environment to streamline the coding process.
  • Sequential Task Execution - Executes a sequential pipeline of quality tools and validates their exit codes to determine if a commit should proceed.
  • Process Isolation Architectures - Launches external binaries in separate system processes to ensure that individual tool crashes do not halt the main execution runner.
  • Code Analysis and Refactoring - Automates code quality checks during development.
  • Static Analysis Tools - Runs quality checks on every commit for PHP.

Star 历史

phpro/grumphp 的 Star 历史图表phpro/grumphp 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Grumphp 的开源替代方案

相似的开源项目,按与 Grumphp 的功能重合度排序。
  • sds/overcommitsds 的头像

    sds/overcommit

    4,008在 GitHub 上查看↗

    Overcommit is a Git hook manager and pre-commit validation framework designed to automate the execution of scripts and checks during various Git events. It serves as a workflow automation tool that ensures code quality and project standards are met before changes are committed or pushed to a remote repository. The system distinguishes itself through a comprehensive YAML-based configuration that allows for detailed hook behavior control, including file execution filtering, conditional skipping, and the management of hook dependencies. It provides specialized roles such as a commit message vali

    Ruby
    在 GitHub 上查看↗4,008
  • evilmartians/lefthookevilmartians 的头像

    evilmartians/lefthook

    7,598在 GitHub 上查看↗

    Lefthook is a Git hook manager and workflow automation tool designed to execute user-defined scripts during version control events. It automates the execution of linters, tests, and formatters to validate changes and maintain code quality before commits or pushes. The project distinguishes itself through a parallel execution model that runs multiple shell commands concurrently to reduce latency. It supports complex configuration management, including the ability to merge global, remote, and local settings and synchronize configurations from external repositories to standardize development env

    Gogitgogolang
    在 GitHub 上查看↗7,598
  • pycqa/pylintPyCQA 的头像

    PyCQA/pylint

    5,685在 GitHub 上查看↗

    Pylint is a static code analysis tool for Python that checks source code for errors, coding standard violations, and code smells without executing the program. It parses code into an abstract syntax tree and walks the tree to detect issues, enforces configurable style rules and naming conventions, and identifies duplicate code blocks by comparing tokenised source sequences. The tool also includes an inference engine that deduces variable types by simulating code paths, enabling deeper analysis even in untyped code. What distinguishes Pylint is its plugin-based checker architecture, which allo

    Python
    在 GitHub 上查看↗5,685
  • rectorphp/rectorrectorphp 的头像

    rectorphp/rector

    10,199在 GitHub 上查看↗

    Rector is an automated PHP refactoring and modernization tool designed to upgrade language versions and modernize syntax using predefined rules. It functions as a static analysis engine that inspects code structures and types to identify refactoring targets without executing the code. The project provides a framework for defining custom transformation logic to automate project-specific changes. It distinguishes itself by offering specialized capabilities for migrating legacy or custom frameworks to modern alternatives and converting docblock annotations into native language attributes. The s

    PHPastautomated-upgradesinstant-upgrades
    在 GitHub 上查看↗10,199
查看 Grumphp 的所有 30 个替代方案→

常见问题解答

phpro/grumphp 是做什么的?

GrumPHP 是一个 Git 提交验证器和 PHP 代码质量编排器。它充当 Git 钩子 (hook) 管理器,自动化脚本触发器的安装和执行,以在 PHP 项目中强制执行代码质量标准。

phpro/grumphp 的主要功能有哪些?

phpro/grumphp 的主要功能包括:Git Hook Managers, Git Hook Management, Pre-commit Hooks, Local Test Execution, PHP Language Standards, Code Quality Tools, Commit Validators, Changed-File Linting。

phpro/grumphp 有哪些开源替代品?

phpro/grumphp 的开源替代品包括: sds/overcommit — Overcommit is a Git hook manager and pre-commit validation framework designed to automate the execution of scripts and… evilmartians/lefthook — Lefthook is a Git hook manager and workflow automation tool designed to execute user-defined scripts during version… pycqa/pylint — Pylint is a static code analysis tool for Python that checks source code for errors, coding standard violations, and… rectorphp/rector — Rector is an automated PHP refactoring and modernization tool designed to upgrade language versions and modernize… nikic/php-parser — PHP-Parser is a tool that converts PHP source code into an abstract syntax tree for static analysis and programmatic… j178/prek — Prek is a Git hook manager written in Rust that runs configured hooks as a single binary without requiring Python or…