Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

phpstan

> 测试质量
Open source

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

14.1K stars0 likes5 views
WebsiteGitHub

About

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

PHPStan - PHP Static Analysis Tool

------ 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 »](https://phpstan.org/)** **[Try out PHPStan on the on-line playground! »](https://phpstan.org/try)** ## Sponsors Want your logo here? [Learn more »](https://phpstan.org/sponsor) ### Gold Sponsors    


### Silver Sponsors

### Bronze Sponsors    
   
   
   
   
   
   
   
[**You can sponsor my open-source work on PHPStan through GitHub Sponsors and also directly.**](https://phpstan.org/sponsor) One-time donations [through Revolut.me](https://revolut.me/ondrejmirtes) are also accepted. To request an invoice, [contact me](mailto:[email protected]) through e-mail. ## Documentation All the documentation lives on the [phpstan.org website](https://phpstan.org/): * [Getting Started & User Guide](https://phpstan.org/user-guide/getting-started) * [Config Reference](https://phpstan.org/config-reference) * [PHPDocs Basics](https://phpstan.org/writing-php-code/phpdocs-basics) & [PHPDoc Types](https://phpstan.org/writing-php-code/phpdoc-types) * [Extension Library](https://phpstan.org/user-guide/extension-library) * [Developing Extensions](https://phpstan.org/developing-extensions/extension-types) * [API Reference](https://apiref.phpstan.org/) ## PHPStan Pro PHPStan Pro is a paid add-on on top of open-source PHPStan Static Analysis Tool with these premium features: * 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](https://account.phpstan.com/). 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. You can read more about it on [PHPStan's website](https://phpstan.org/blog/introducing-phpstan-pro). ## Code of Conduct This project adheres to a [Contributor Code of Conduct](https://github.com/phpstan/phpstan/blob/master/CODE_OF_CONDUCT.md). 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`](https://github.com/phpstan/phpstan-src).

Issues· 1083 open

View all issuesOpen on GitHub
  • #6533

    Dependency Dashboard

    dependencieswebsiteUpdated Oct 1, 2026
  • #15348

    symfony/ux-css slow on big array shape

    performanceUpdated Oct 1, 2026
  • #15347

    Provide refined type for the int range returned by intdiv

    feature-requestUpdated Oct 1, 2026
  • #15337

    Generated baseline doesn't match errors whose message starts with @ (since 2.2.6)

    bugUpdated Oct 1, 2026
  • #11381

    Generics cannot be combined with value-of

    feature-requestUpdated Sep 30, 2026
  • #15339

    turbo: inline property fetches to local variabes

    performanceUpdated Sep 30, 2026
  • #10714

    Reports wrong line number

    feature-requestUpdated Sep 30, 2026
  • #3191

    Docblock emitting error that source code wouldn't

    bugUpdated Sep 29, 2026
  • #15197

    PHPStan `param-closure-this` reassigns `self` (regression)

    bugUpdated Sep 29, 2026
  • #15331

    2.3.x-dev: internal error "The initial type of an unresolved template argument is never itself unresolved" (unresolvedTemplateArguments)

    Updated Sep 28, 2026

> Tags

PHPphpphp7phpstanstatic-analysis

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category测试质量
PricingOpen source

> Related tools

J
Jest
JavaScript 测试框架
P
Playwright
现代端到端测试框架
E
eslint-plugin-test-selectors
Enforces that data-test-id attributes are added to interactive DOM elements (JSX) to help with UI testing. JSX only.