2017 © Pedro Peláez
 

library phpstan

PHPStan - PHP Static Analysis Tool

image

phpstan/phpstan

PHPStan - PHP Static Analysis Tool

  • Tuesday, July 31, 2018
  • by ondrejmirtes
  • Repository
  • 159 Watchers
  • 4357 Stars
  • 1,473,068 Installations
  • PHP
  • 1275 Dependents
  • 8 Suggesters
  • 283 Forks
  • 174 Open issues
  • 42 Versions
  • 27 % Grown

The README.md

PHPStan - PHP Static Analysis Tool

PHPStan , (*1)

Build Status Latest Stable Version Total Downloads License PHPStan Enabled , (*2)


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., (*3)

Read more about PHPStan », (*4)

Try out PHPStan on the on-line playground! », (*5)

Sponsors

TheCodingMachine     Private Packagist
CDN77     Blackfire.io
iO     Fame Helsinki
ShipMonk     Togetter
RightCapital     ContentKing
ZOL     EdgeNext
Shopware     Craft CMS
Worksome     campoint AG
Crisp.nl     Inviqa
Shoptet     Route4Me: Route Optimizer and Route Planner Software
TicketSwap, (*6)

You can now sponsor my open-source work on PHPStan through GitHub Sponsors., (*7)

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!, (*8)

One-time donations through Revolut.me are also accepted. To request an invoice, contact me through e-mail., (*9)

Documentation

All the documentation lives on the phpstan.org website:, (*10)

PHPStan Pro

PHPStan Pro is a paid add-on on top of open-source PHPStan Static Analysis Tool with these premium features:, (*11)

  • Web UI for browsing found errors, you can click and open your editor of choice on the offending line.
  • Continuous analysis (watch mode): scans changed files in the background, refreshes the UI automatically.

Try it on PHPStan 0.12.45 or later by running it with the --pro option. You can create an account either by following the on-screen instructions, or by visiting account.phpstan.com., (*12)

After 30-day free trial period it costs 7 EUR for individuals monthly, 70 EUR for teams (up to 25 members). By paying for PHPStan Pro, you're supporting the development of open-source PHPStan., (*13)

You can read more about it on PHPStan's website., (*14)

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., (*15)

Contributing

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

The Versions