How I take care of code quality with GrumPHP

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • SaaSHub - Software Alternatives and Reviews
  • security-checker

    A PHP dependency vulnerabilities scanner based on the Security Advisories Database. (by enlightn)

    GrumPHP and Security Checker can help to detect dangerous packages you use.

  • GrumPHP

    A PHP code-quality tool

    GrumPHP keeps all-in-one configuration for all most popular tools. "This composer plugin will register some git hooks in your package repository. When somebody commits changes, GrumPHP will run some tests on the committed code". The library has a lot of built-in tasks and you can start using them with few lines of configuration.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • PHPStan

    PHP Static Analysis Tool - discover bugs in your code without running it!

    The PHPStan task focuses on finding errors in your code without actually running it. It catches whole classes of bugs even before you write tests for the code

  • PHPUnit

    The PHP Unit Testing framework.

    (If you don’t use PHPUnit in your project, skip this section)

  • PHP Code Sniffer

    PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.

    What is PHP CodeSniffer?

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts