PHPStan logo


PHP Static Analysis Tool - discover bugs in your code without running it!
+ 1

What is PHPStan?

It focuses on finding errors in your code without actually running it. It catches whole classes of bugs even before you write tests for the code. It moves PHP closer to compiled languages in the sense that the correctness of each line of the code can be checked before you run the actual line.
PHPStan is a tool in the Code Review category of a tech stack.
PHPStan is an open source tool with 12.6K GitHub stars and 860 GitHub forks. Here’s a link to PHPStan's open source repository on GitHub

Who uses PHPStan?

51 companies reportedly use PHPStan in their tech stacks, including Ornikar, Extensions, and

110 developers on StackShare have stated that they use PHPStan.

PHPStan Integrations

PHP, WordPress, Laravel, Drupal, and Symfony are some of the popular tools that integrate with PHPStan. Here's a list of all 12 tools that integrate with PHPStan.

PHPStan's Features

  • Static Analysis Tool
  • Focuses on finding errors in your code without actually running it
  • Extensible

PHPStan Alternatives & Comparisons

What are some alternatives to PHPStan?
SonarQube provides an overview of the overall health of your source code and even more importantly, it highlights issues found on new code. With a Quality Gate set on your project, you will simply fix the Leak and start mechanically improving.
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
See all alternatives

PHPStan's Followers
92 developers follow PHPStan to keep up with related blogs and decisions.