PHP Mess Detector
PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD. PHPMD can be seen as an user friendly frontend application for the raw metrics stream measured by PHP Depend. (by phpmd)
PHP Code Sniffer
PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards. (by PHPCSStandards)
| PHP Mess Detector | PHP Code Sniffer | |
|---|---|---|
| 9 | 49 | |
| 2,406 | 1,417 | |
| 0.2% | 2.9% | |
| 2.4 | 9.8 | |
| 16 days ago | 8 days ago | |
| PHP | PHP | |
| BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PHP Mess Detector
Posts with mentions or reviews of PHP Mess Detector. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-18.
- PHP libraries and tools
PHPMD - PHP Mess Detector: PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD. PHPMD can be seen as an user friendly frontend application for the raw metrics stream measured by PHP Depend.
- Top 6 PHP code quality tools 2023
PHPMD Mess Detector: PHP Mess Detector PHP Mess Detector identifies potential problems and "code smells" in PHP code. It detects complex code, unused variables, duplicated code blocks, and other issues that may indicate poor code quality. It helps developers refactor and clean up their codebase. Documentation: To explore PHP Mess Detector and understand its usage, refer to the official repository: PHP Mess Detector Repository
- PHP in 2023 - stitcher.io
While you're at it, also include code-style checkers like phpcs, phpmd and/or php-cs-fixer
- Underestimated PHP
Mess detector
- Github Actions for Symfony 5 PHPUnit and more
- Twelve-factor app módszer a gyakorlatban / 1. rész
- PHP Static Analysis Tools Review
PHP Mess Detector is a multi-faceted static analysis PHP Tool based on PHP Depend. The kind of problems detected by PHPMD are divided into 5 main categories:
- Automating code quality check using GrumPHP in Magento 2
- A minimal Drupal 9 local development environment
PHPMD
PHP Code Sniffer
Posts with mentions or reviews of PHP Code Sniffer. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-12-23.
- Build a Symfony 7 boilerplate using FrankenPHP, Docker, PostgreSQL and php 8.4
To do so simply install the runtime/frankenphp-symfony composer package. Then we install the bare minimum for a kick ass developer experience, a linter using Code Sniffer, phpstan as code quality audit tool, Rector to ease and automate code maintenance, some useful Symfony components and package and of course the Doctrine ORM. Here the composer.json file located at the symfony folder root.
- PHP_CodeSniffer: Enforce Coding Standards and Clean Up Your PHP Code
- The Future of PHP_CodeSniffer
- Laravel code-quality tools
PHP Insights supports sniffs from PHP CodeSniffer and fixers from PHP CS Fixer. This allows you to add any sniff or fixer as long as it implements PHP_CodeSniffer\Sniffs\Sniff or PhpCsFixer\Fixer\FixerInterface.
- PHP_CodeSniffer update (package name will NOT be changing... just the repo & ownership)
I don’t know why but that link keeps reloading the page over and over. This one works for me: https://github.com/squizlabs/PHP_CodeSniffer/issues/3932
- The Future of PHP CodeSniffer
- Top 6 PHP code quality tools 2023
PHP_CodeSniffer is a widely-used tool for enforcing coding standards in PHP. It checks the code against a set of predefined coding standards (such as PSR-12, PSR-2, and many others) and provides reports with violations and recommendations for improvement. Documentation: You can find more information about PHP_CodeSniffer and its usage in the official documentation: PHP_CodeSniffer Repository
- PHP in 2023 - stitcher.io
While you're at it, also include code-style checkers like phpcs, phpmd and/or php-cs-fixer
- how can I know if I am following PSR standards
See https://github.com/squizlabs/PHP_CodeSniffer
What are some alternatives?
When comparing PHP Mess Detector and PHP Code Sniffer you can also consider the following projects:
PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!
PHP CS Fixer - A tool to automatically fix PHP Coding Standards issues
GrumPHP - A PHP code-quality tool
PHP Metrics - Beautiful and understandable static analysis tool for PHP