Skip to content
PHP_CodeSniffer

Alternatives to PHP_CodeSniffer

200 apps like PHP_CodeSniffer, closest match first.

Top picks

  1. P

    Phpinsights

    Launch

    PHP Insights is a command-line tool that analyzes the quality of a PHP project directly from the terminal. It reports quality results for each area of the code so you can see where a project needs attention. The README describes it as the e

  2. P

    php-best-practices

    Get

    php-best-practices is an agent skill with modern PHP 8.x patterns, PSR standards, type system guidance and SOLID principles. It contains 51 rules for writing clean and maintainable PHP. It applies when reviewing PHP code, checking type safe

  3. P

    PHP Censor

    Launch

    PHP Censor is an open source, self-hosted continuous integration server for PHP projects, originally forked from PHPCI. It clones projects from GitHub, Bitbucket, GitLab, plain Git, Mercurial, Subversion or a local directory, installs Compo

    Self-hosted

  4. P

    PhpCodeArcheology/PhpCodeArcheology

    Get

    🏠 🍎 🪟 🐧 - PHP static analysis: code quality metrics, problem detection, refactoring priorities, dependency graphs, git hotspots, test coverage and impact analysis.

  5. W

    woocommerce-code-review

    Get

    woocommerce-code-review is an agent skill that reviews WooCommerce code changes against the project's coding standards. It is for reviewing code locally, running automated reviews of pull requests, and checking code quality before a change

  6. C

    Checkpoint

    Launch

    Checkpoint is a security scanner for Laravel apps. You add it as a dev dependency with Composer and run one Artisan command, php artisan checkpoint:scan, to check the app before it ships. It audits your Composer and npm lockfiles for known

More like PHP_CodeSniffer

7
P

Phpmnd

PHP Magic Number Detector

Launch
8
I

Inspector

Inspector: Agentic Application Debugging for the PHP ecosystem

Launch
9
P

php-pro

Modern PHP development with strict typing, enterprise patterns

Get
10
W

wp-phpstan

Configuring, running, or fixing PHPStan static analysis in WordPress projects

Get
11
W

write-coding-standards-from-file

Analyze existing code files

Get
12
P

PHP Conventional Changelog

A PHP tool built to generate a changelog from a project's commit messages

Launch
13
H

hygiene

Making code changes to ensure they pass VS Code's hygiene checks

Get
14
P

plankton-code-quality

Write-time code quality enforcement using Plankton

Get
15
C

code-reviewer

Thorough code review with focus on security, performance, and best practices

Get
16
D

dx-code-analyzer-custom-rule-create

Create custom Code Analyzer rules for Regex (pattern matching), PMD

Get
17
C

claude-security

Claude Security: scan the codebase

Get
18
T

Tweakphp

Easily tweak your PHP code

Launch
19
J

jscpd

Copy/paste detector for source code

Launch
20
C

code-review-expert

Expert code review of current git changes with a senior engineer lens

Get
21
B

Boost

Save tokens. Maximize context, Safely

Launch
22
P

Pricore

Private Composer Registry for PHP Teams

Launch
23
R

review-and-refactor

Automated code review

Get
24
A

agent-code-analyzer

Agent skill for code-analyzer - invoke with $agent-code-analyzer

Get
25
S

Standard Version

Automate versioning and CHANGELOG generation

Launch
26
C

code-reviewer

Analyzes code diffs and files to identify bugs, security vulnerabilities

Get
27
P

printing-press-polish

Polish a generated CLI to pass verification and become publish-ready

Get
28
3

3v4l PHP Playground

Test code in 500+ PHP versions

Launch
29
C

code-review

Review code changes for security, performance, and correctness

Get
30
M

mantis-researcher

Audits production source code files based on the strategy in workspace/plan.json

Get
31
C

code-simplifier

Simplifies and refines code for clarity, consistency

Get
32
F

fallow

Codebase intelligence for TypeScript and JavaScript

Get
33
W

wp-project-triage

A deterministic inspection of a WordPress repository

Get
34
C

coderabbitai/code-review

Run AI-powered code reviews through the CodeRabbit CLI

Get
35
S

shellcheck-configuration

Master ShellCheck static analysis configuration and usage

Get
36
S

semgrep/semgrep

Scan code for security vulnerabilities using Semgrep

Get
37
T

typescript-security-review

Provides security review capability for TypeScript/Node.js applications

Get
38
W

WordPress/wp-phpstan

PHPStan static analysis for WordPress projects

Get
39
D

dx-code-analyzer-run

Run Salesforce Code Analyzer to scan code for security, performance

Get
40
E

editorconfig

EditorConfig file generator

Get
41
C

code-review-pro

Performs a deep code review of files, modules, a diff, or a branch

Get
42
S

semgrep

Runs a Semgrep security scan over a codebase: detects languages

Get
43
O

openai/security-best-practices

Review code for language-specific security vulnerabilities

Get
44
C

CodeProt

A tool for code review analyze PRs, suggest fixes, and finds vulnerabilities

Launch
45
C

clean-code

Embodies the principles of "Clean Code" by Robert C

Get
46
U

Ultimate Bug Scanner

Static analysis tool that catches 1000+ bug patterns across all popular

Launch
47
P

project-min-evaluation

Trigger: done, complete, finish, before commit, quality check, verify

Get
48
A

audit-prep-assistant

Prepares codebases for security review using Trail of Bits' checklist

Get
49
R

running-code-analyzer

Run Salesforce Code Analyzer to scan code for security, performance

Get
50
C

clean-code-guard

Review generated or changed production code before it ships

Get

About PHP_CodeSniffer

P

PHP_CodeSniffer

PHP_CodeSniffer tokenizes PHP files

PHP_CodeSniffer is a set of two PHP command line tools. The phpcs script tokenizes your PHP files and reports violations of a coding standard, and phpcbf automatically fixes many of those violations. It is an essential development tool for keeping code clean and consistent, especially in teams and on continuous integration servers, where a configuration file can hold the project's settings. The default standard is PSR-12. It requires PHP 7.2 or newer, and some individual sniffs need extra external tools. The project is the official continuation of PHP_CodeSniffer, which was created by Squizlabs and is now abandoned. You can install it by downloading the signed Phar files for phpcs and phpcbf, which the README says can be verified with GitHub artifact attestations. It can also be installed system wide with Composer, added as a dependency in composer.json, installed as a project tool with Phive, or run from a Git clone. The repository is open source on GitHub, and its test status is shown in the README badges.

Price
Free
Made by
PHPCSStandards
Category
Productivity
Website
github.com/phpcsstandards/php_codesniffer