Tutorials / Guides
49 Alternatives to php7cc
Finds usages of deprecated (Symfony) code.
Detection of design patterns in PHP code.
Combine PHP_CodeSniffer and PHP-CS-Fixer.
This tool checks syntax of PHP files faster than serial check with a fancier output.
PHP Architecture Tester
Easy to use architecture testing tool for PHP.
Checks for weak assumptions.
Detects violations of a defined set of coding standards.
PHP Coding Standards Fixer
Fixes your code according to standards like PSR-1, PSR-2, and the Symfony standard.
Instant PHP quality checks from your console. Analysis of code quality and coding style as well as overview of code architecture and its complexity.
Php Inspections (EA Extended)
A Static Code Analyzer for PHP.
A PHP parser written in PHP.
PHP Refactoring Browser
PHP Semantic Versioning Checker
Suggests a next version according to semantic versioning.
PHP spell check library.
Library emulating the PHP internal reflection.
Builds a dependency graph for a project.
Analyzer of PHP code to search issues with deprecated functionality in newer interpreter versions. It finds removed objects (functions, variables, constants and ini-directives), deprecated functions functionality, and usage of forbidden names or tricks (e.g. reserved identifiers in newer versions).
Add scalar type hints and return types to existing PHP projects using PHPDoc annotations.
Analyzes PHP source code to generate documentation.
Calculates and visualizes various code quality metrics.
phpqa - jakzal
Many tools for PHP static analysis in one container.
phpqa - jmolivas
PHPQA all-in-one Analyzer CLI tool.
Qafoo Quality Analyzer
Visualizes metrics and source code.
Reflection library to do Static Analysis for PHP Projects
32 Multi-Language Tools
Static analysis for C/C++/C#, PHP and Java.
Creates reports of over 400 rule patterns for feature detection (e.g. the use of cryptography or version control in apps).
Axivion Bauhaus Suite
Tracks down error-prone code locations, style violations, cloned or dead code, cyclic dependencies and more for C/C++, C#/.NET, Java and Ada 83/Ada 95.
Statically generates a call graph image and displays it on screen.
Commercial Static Code Analysis which runs locally, but uploads the results to its cloud for presentation.
Commercial Static Code Analysis which doesn't require pre-compilation.
Analyses the comprehensive dependencies of code elements for Java, C/C++, Ruby.
Emerge is a source code and dependency visualizer that can be used to gather insights about source code structure, metrics, dependencies and complexity of software projects. After scanning the source code of a project it provides you an interactive web interface to explore and analyze your project by using graph structures.
Regexp based customizable linter.
Grep rough audit - source code auditing tool.
Lizard is an extensible Cyclomatic Complexity Analyzer for many programming languages including C/C++ (doesn't require all the header files or Java imports). It also does copy-paste detection (code clone detection/code duplicate detection) and many other forms of static code analysis. Counts lines of code without comments, CCN (cyclomatic complexity number), token count of functions, parameter count of functions.
Mega-Linter can handle any type of project thanks to its 70+ embedded Linters, its advanced reporting, runnable on any CI system or locally, with assisted installation and configuration, able to apply formatting and fixes
A framework for managing and maintaining multi-language pre-commit hooks.
A static source code analyser for vulnerabilities in PHP scripts.
A fast, open-source, static analysis tool for finding bugs and enforcing code standards at editor, commit, and CI time. Its rules look like the code you already write; no abstract syntax trees or regex wrestling. Supports 17+ languages.
Scan is a free open-source DevSecOps platform for detecting security issues in source code and dependencies. It supports a broad range of languages and CI/CD pipelines.
Static program analysis platform that allows custom analyzers to plug in through a common interface.
Sigrid helps you to improve your software by measuring your system's code quality, and then compares the results against a benchmark of thousands of industry systems to give you concrete advice on areas where you can improve.
Suite of static analysis tools consisting of the three components Sotoarc (Architecture Analysis), Sotograph (Quality Analysis), and Sotoreport (Quality report). Helps find differences between architecture and implementation, interface violations (e.g. external access of private parts of subsystems, detection of all classes, files, packages and subsystems which are strongly coupled by cyclical relationships and more. The Sotograph product family runs on Windows and Linux.
Static Reviewer executes code checks according to the most relevant Secure Coding Standards, OWASP, CWE, CVE, CVSS, MISRA, CERT, for 40+ programming languages, using 1000+ built-in validation rules for Security, Deadcode & Best Practices Available a module for Software Composition Analysis (SCA) to find vulnerabilities in open source and third party libraries.
A commercial static analysis platform that allows for scanning of multiple languages (C/C++, Android, C#, Java, JS, PHP, Python, Node.JS, Ruby, Fortran, and Swift).
Tencent Cloud Code Analysis (TCA for short, code-named CodeDog inside the company early) is a comprehensive platform for code analysis and issue tracking. TCA consist of three components, server, web and client. It integrates of a number of self-developed tools, and also supports dynamic integration of code analysis tools in various programming languages.
Linter for integrating annotated TODOs with your issue trackers
A Simple and Comprehensive Vulnerability Scanner for Containers and other Artifacts, Suitable for CI. Trivy detects vulnerabilities of OS packages (Alpine, RHEL, CentOS, etc.) and application dependencies (Bundler, Composer, npm, yarn, etc.). Checks containers and filesystems.
Language-independent tool for massive, automatic, programmable refactoring based on simple pattern definitions.
Code visualization tool that provides code analysis, standards testing, metrics, graphing, dependency analysis and more for Ada, VHDL, and others.
WhiteHat Application Security Platform
WhiteHat Scout (for Developers) combined with WhiteHat Sentinel Source (for Operations) supporting WhiteHat Top 40 and OWASP Top 10.
Help make this list better