Skip to content

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

License

Notifications You must be signed in to change notification settings

BruceGitHub/phpstan

 
 

Repository files navigation

PHPStan - PHP Static Analysis Tool

PHPStan

Build Status Build Status Latest Stable Version Total Downloads License PHPStan Enabled


PHPStan 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.

Read more about PHPStan in an introductory article »

Try out PHPStan on the on-line playground! »

Sponsors

Mike Pretzlaw     TheCodingMachine     Private Packagist     Musement     Blackfire.io     Intracto     ShipMonk     Togetter

You can now sponsor my open-source work on PHPStan through GitHub Sponsors.

Does GitHub already have your 💳? Do you use PHPStan to find 🐛 before they reach production? Send a couple of 💸 a month my way too. Thank you!

One-time donations through PayPal are also accepted. To request an invoice, contact me through e-mail.

Documentation

All the documentation lives on the phpstan.org website:

Code of Conduct

This project adheres to a Contributor Code of Conduct. By participating in this project and its community, you are expected to uphold this code.

Contributing

Any contributions are welcome. PHPStan's source code open to pull requests lives at phpstan/phpstan-src.

About

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

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 46.7%
  • TypeScript 22.5%
  • PHP 17.0%
  • JavaScript 6.9%
  • CSS 4.2%
  • Shell 1.6%
  • Dockerfile 1.1%