https://github.com/mteu/zealous-stan
A modest and highly opinionated collection of commonly used phpstan rules
https://github.com/mteu/zealous-stan
phpstan phpstan-extension
Last synced: 2 months ago
JSON representation
A modest and highly opinionated collection of commonly used phpstan rules
- Host: GitHub
- URL: https://github.com/mteu/zealous-stan
- Owner: mteu
- License: gpl-3.0
- Created: 2023-02-22T20:16:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-31T23:48:37.000Z (3 months ago)
- Last Synced: 2025-04-04T10:08:47.822Z (2 months ago)
- Topics: phpstan, phpstan-extension
- Homepage:
- Size: 412 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/mteu/zealous-stan/actions/workflows/cgl.yaml)
# Zealous Stan
**Zealous Stan** is a simple and modest, and obviously highly subjective collection of commonly used
[PHPStan](https://github.com/phpstan/phpstan) rules.## 🚨 Disclaimer
Since **Zealous Stan** is my personal configuration for private projects it might not be generic enough to meet the needs
of a larger audience. Chances are it never will. So, if you really wish to use it as is be prepared for unannounced
breaking changes and/or semver violations. This packages likely needs additional configuration that I may or may not have
documented here. Use at your own risk, please.## ⚡ Usage
Require this package and make sure to configure PHPStan according to your needs by putting a configuration file in your
project (e.g. as `phpstan.neon` file in your package root.)```bash
composer require --dev mteu/zealous-stan
```If you're using the [`phpstan/extension-installer`](https://github.com/phpstan/extension-installer) you're good to go.
## 🚀 Featured Extensions
* [ergebnis/phpstan-rules](https://github.com/ergebnis/phpstan-rules)
* [mteu/docblock-rules](https://github.com/mteu/docblock-rules)
* [phpstan/phpstan-deprecation-rules](https://github.com/phpstan/phpstan-deprecation-rules)
* [phpstan/phpstan-strict-rules](https://github.com/phpstan/phpstan-strict-rules)
* [spaze/phpstan-disallowed-calls](https://github.com/spaze/phpstan-disallowed-calls)
* [symplify/phpstan-rule](https://github.com/symplify/phpstan-rules)> Please keep in mind that the list of featured extensions is highly subjective and only reflects my current workflow. 🤷
## 💛 Acknowledgement
I'm very grateful for the good people that created, maintain and sponsor [PHPStan](https://github.com/phpstan/phpstan). Děkuji, [Ondřej](https://github.com/ondrejmirtes)
and everyone who has contributed!## ⭐ License
This project is licensed under [GNU General Public License 3.0 (or later)](LICENSE).