Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phpstan/phpstan
PHP Static Analysis Tool - discover bugs in your code without running it!
https://github.com/phpstan/phpstan
php php7 phpstan static-analysis static-analyzer static-code-analysis testing
Last synced: 6 days ago
JSON representation
PHP Static Analysis Tool - discover bugs in your code without running it!
- Host: GitHub
- URL: https://github.com/phpstan/phpstan
- Owner: phpstan
- License: mit
- Created: 2016-01-04T18:22:16.000Z (almost 9 years ago)
- Default Branch: 1.11.x
- Last Pushed: 2024-04-12T14:22:33.000Z (7 months ago)
- Last Synced: 2024-04-14T14:10:30.767Z (7 months ago)
- Topics: php, php7, phpstan, static-analysis, static-analyzer, static-code-analysis, testing
- Language: PHP
- Homepage: https://phpstan.org/
- Size: 4.7 GB
- Stars: 12,521
- Watchers: 172
- Forks: 857
- Open Issues: 1,043
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
- laravel-awesome - phpstan/phpstan
- favorite-link - PHP 静态分析工具 - 发现代码中的错误而不运行它!
- awesome-resources - phpstan - Static Analyzer (Dev Tools / Libraries)
- awesome - phpstan/phpstan - PHP Static Analysis Tool - discover bugs in your code without running it! (PHP)
- awesome-php - PHPStan - A PHP Static Analysis Tool. (Table of Contents / Static Analysis)
- awesome-php-cn - PHPStan - 一个PHP静态分析工具. (目录 / 静态分析 Static Analysis)
- awesome-projects - PHPStan - A PHP Static Analysis Tool. (PHP / Static Analysis)
- php-awesome - PHPStan - 静态分析工具,检测代码 Bug (类库 / 代码检查/静态分析)
- awesome-php - PHPStan - A PHP Static Analysis Tool. (Table of Contents / Static Analysis)
- awesome-hacking-lists - phpstan/phpstan - PHP Static Analysis Tool - discover bugs in your code without running it! (PHP)
- StarryDivineSky - phpstan/phpstan - 无需运行即可发现代码中的错误! (网络服务 / 网络服务_其他)
README
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
[**You can now sponsor my open-source work on PHPStan through GitHub Sponsors.**](https://github.com/sponsors/ondrejmirtes)
Does GitHub already have your 💳? Do you use PHPStan to find 🐛 before they reach production? [Send a couple of 💸 a month my way too.](https://github.com/sponsors/ondrejmirtes) Thank you!
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).