PHP Parser VS PHP Code Sniffer

Compare PHP Parser vs PHP Code Sniffer and see what are their differences.

PHP Code Sniffer

PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards. (by squizlabs)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
PHP Parser PHP Code Sniffer
11 47
16,826 10,600
- 0.2%
8.3 6.8
11 days ago 23 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.

PHP Parser

Posts with mentions or reviews of PHP Parser. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-13.

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-02-08.

What are some alternatives?

When comparing PHP Parser 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

PHPCPD - Copy/Paste Detector (CPD) for PHP code.

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.

Better Reflection - :crystal_ball: Better Reflection is a reflection API that aims to improve and provide more features than PHP's built-in reflection API.

phan - Phan is a static analyzer for PHP. Phan prefers to avoid false-positives and attempts to prove incorrectness rather than correctness.

Rector - Instant Upgrades and Automated Refactoring of any PHP 5.3+ code

tree-sitter - An incremental parsing system for programming tools

GrumPHP - A PHP code-quality tool