Skip to content
SPECIFICTION
Get listed

cpplint vs PHP_CodeSniffer

cpplint

github.com

PHP_CodeSniffer

github.com

Side by side

FigurecpplintPHP_CodeSniffer
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WindowsYes—
macOSYes—
LinuxYes—
Self-hosted—Yes
Plans published11
Spec score · Linters7.9 (#12)7.3 (#29)
InstallationThe project recommends installing the cpplint package from PyPI and documents installation as a uv tool.The project documents installation through PHAR downloads, Composer, Phive, or a Git clone.
LicenseThe package is distributed under the BSD-3-Clause license.The repository identifies PHP_CodeSniffer as BSD-3-Clause licensed.
PurposeCpplint is a command-line tool that checks C/C++ files for style issues according to Google’s C++ style guide.PHP_CodeSniffer tokenizes PHP files and detects violations of a defined coding standard.
SupportThe repository identifies maintainers and provides GitHub issues, pull requests, discussions, and contribution guidance.The project directs users to its GitHub issue tracker for bug reports and feature requests and to its wiki for documentation.

Plans

cpplint

  • cpplintFree

cpplint pricing →

PHP_CodeSniffer

  • PHP_CodeSnifferFree

PHP_CodeSniffer pricing →

In their own words

cpplint

cpplint has no write-up on Specifiction yet; its figures are above.

Visit github.com

PHP_CodeSniffer

PHP_CodeSniffer has no write-up on Specifiction yet; its figures are above.

Visit github.com