qmetrics.net

GrumPHP

Composer plugin for PHP git commit quality checks

A Composer plugin that registers git hooks and runs configured quality tasks on each commit, blocking commits when checks fail.

Overview

GrumPHP is a PHP code-quality tool delivered as a Composer plugin. After installation it attaches to your project’s git hooks so that when someone commits, GrumPHP runs selected validation tasks on the changed code. Failed tasks prevent the commit from completing.

The tool ships with common tasks and works with minimal configuration through a grumphp.yml-style config file in the project root. You choose which tasks to enable or disable. It requires php, composer, and git on the command line and supports PHP 5.6 and above.

Reported git client compatibility includes command-line git on Unix, Mac, and Windows, plus PhpStorm Git, SourceTree, and SmartGit. CLI commands cover configuration, hook init and deinit, pre-commit and commit-msg hooks, and a run command.

Installation can use Composer with dependencies, as a phar, or via phive. Unless you install with flags that skip plugins or scripts, GrumPHP replaces existing hooks but creates a backup of prior hooks.

Key features

  • Git hook integration
  • Blocks failing commits
  • Built-in common tasks
  • YAML project configuration
  • Selectable task set
  • CLI run and configure
  • Multiple install options
  • IDE git client support

Use cases

  • PHP commit-time linting
  • Team code style enforcement
  • Local pre-commit gates
  • Composer project hygiene
  • Git workflow automation

Tags

Similar software

Prettier

Opinionated multi-language code formatter

Prettier enforces consistent style by parsing code and reprinting it with fixed rules and line wrapping. It supports many web and data languages.

  • AST-based consistent reprinting
  • Wide language and plugin support
  • Editor and CI integration
JavaScriptDetails →
★ 52.5k⟳ yesterdayMIT

Oxc

Rust-based JavaScript and TypeScript compiler toolkit

Oxc bundles a parser, linter, formatter, transformer, resolver, and minifier for JavaScript and TypeScript. Oxlint and Oxfmt run via npx for everyday lint and format tasks.

  • Oxlint ESLint-compatible linter
  • Oxfmt Prettier-compatible formatter
  • JavaScript and TypeScript parser
RustLinux, macOSDetails →
★ 23.8k⟳ todayMIT

PHP Parser

PHP library for parsing and manipulating PHP ASTs

A PHP package that parses PHP source into an abstract syntax tree for analysis and code transformation. It targets static analysis and programmatic rewriting workflows.

  • PHP 7 and 8 AST parsing
  • Partial parse on invalid code
  • AST dump and pretty-print
PHPDetails →
★ 17.5k⟳ 5 days agoBSD-3-Clause

typescript-eslint

ESLint tooling for linting TypeScript codebases

typescript-eslint connects ESLint to TypeScript syntax and ships parser services plus lint rules. It enables standard and type-aware linting for JavaScript and TypeScript projects.

  • TypeScript parser for ESLint
  • Parser services for other tools
  • Large standard rule catalog
TypeScriptDetails →
★ 16.5k⟳ todayMIT

laravel-ide-helper

Laravel IDE helper and PHPDoc generator package

A Composer package for Laravel apps that builds helper files and PHPDoc so IDEs can autocomplete facades, models, fluent APIs, and container bindings from your project source.

  • Facade PHPDoc via ide-helper:generate
  • Model property docs from database schema
  • PhpStorm meta for container bindings
PHPDetails →
★ 15k⟳ 1 month agoMIT

quicktype

Type and serializer generator from JSON, Schema, and GraphQL

Quicktype infers strongly typed models and serializers from JSON samples, JSON Schema, TypeScript, or GraphQL. Output targets many programming languages via the web app, CLI, or JavaScript API.

  • JSON and JSON Schema inputs
  • GraphQL and TypeScript sources
  • Twenty-five plus target languages
TypeScriptWeb, macOS, Windows, CLIDetails →
★ 13.9k⟳ 2 months agoApache-2.0