Skip to content
PHP Static Analysis Tool - discover bugs in your code without running it!
HTML TypeScript PHP JavaScript CSS Shell Dockerfile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
conf
e2e
hooks
playground-runner
website
.gitattributes
.gitignore
.travis.yml
BACKERS.md
CODE_OF_CONDUCT.md
Dockerfile
LICENSE
README.md
bootstrap.php
composer.json
docker-compose.test.yml
phpstan
phpstan.phar
phpstan.phar.asc

README.md

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.

You can’t perform that action at this time.