grumPHP logo

GrumPHP: The indispensable tool for code quality!

GrumPHP is a powerful tool developed by the team at PHPro that helps to ensure the quality of your code. As software developers, we know how important it is to write consistent and error-free code, especially when working on complex customised solutions. GrumPHP ensures that your code meets the highest quality standards, without you having to manually check every commit!

What is GrumPHP and how does it work?

GrumPHP is a automated tool that integrates with your version control system (such as Git) and performs pre-defined quality checks every time a developer tries to commit code. These checks can range from style and error checking to compliance with project standards. If any of the checks fail, the commit is blocked until the problem is fixed, so you only commit code that meets all quality requirements. GrumPHP is fully configurable, so it can be tailored to the specific needs of your project and team!

GrumPHP's most important features in a nutshell

GrumPHP acts as a pre-commit hook. It acts as a "task runner" that automatically performs checks before code is commited, so errors are detected and corrected early. But what exactly does that mean?

Automatic quality control

GrumPHP supports a wide range of tools such as PHPStan, PHP_CodeSniffer, and Psalm to check your code for errors, inconsistencies and potential problems.

Flexible configuration

A configurable grumphp.yml file allows you to customise GrumPHP to the specific needs of your project. This makes it easy to define which tasks to perform and which rules to follow.

Unit tests and linting

The framework can run unit tests and linters to check that your code works correctly and is free of syntax errors.

Automatic code formatting

GrumPHP can work with tools like PHP-CS-Fixer to ensure your code conforms to a unified style, without manual work.

Key benefits when deploying GrumPHP

  • Increased code quality: By automatically running GrumPHP on every commit, your code is constantly checked for quality. This results in fewer errors and less technical debt.

 

  •  Faster development processes: Because GrumPHP automatically runs checks, you no longer need to manually check code. This speeds up the development process without sacrificing quality.

 

  • More consistency within the team: GrumPHP ensures that all developers on your team follow the same standards, resulting in a consistent codebase.

 

  • Free for the community: GrumPHP is not only a tool we use in our own projects, but we also make it available for free to the open-source community. We believe in the power of sharing and want to help the software community write better code.
GrumPHP has now been downloaded more than 10 million times by the global community!

Why we offer GrumPHP for free

At PHPro, we believe in the power of collaboration as well as knowledge sharing. That is why we make GrumPHP available to the community for free. By sharing our experience and expertise in software development, we hope to support other developers in improving their work processes. We want GrumPHP to become a standard tool for quality assurance in any PHP environment.

 

Get Started With GrumPHP?

Want to try out GrumPHP for yourself now and take your development process to the next level? Download GrumPHP today and start improving the quality of your code right away!

 

GrumPHP on Github