💀 通过 PHPStan 扩展检测 PHP 未使用代码。能检测死循环,支持像Laravel、Symfony、Twig、Doctrine、PHPUnit等库。可以自动删除死掉的PHP代码。能够检测仅用于测试的死代码。查找未使用的方法、常数、属性和枚举情况。
phpstan-rules 开源项目推荐(24 个)
phpstan-rules 话题在 GitHub 上没有填写简介,这里按 Star 数汇总最相关的热门仓库。
热门项目 前 20
按 Star 数排序展示前 20 个 · GitHub 共 24 个仓库👓 Provides a composer package with rules for phpstan/phpstan.
PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute, keyword & superglobal usages, with powerful rules to re-allow a call or a usage in places where it should be allowed.
📏 Various extra strict PHPStan rules we found useful in ShipMonk.
Extra strict and opinionated PHPStan rules for Laravel.
PHPStan rules for Symfony UX
Custom PHPStan Rules for Consistence library (https://github.com/phpstan/phpstan and https://github.com/consistence/consistence/)
Custom PHPStan Rules (for https://github.com/phpstan/phpstan)
Collection of custom PHPStan rules
Factory-enforcing PHPStan rule
PHPStan rules focused on architectural & clean code rules
PHPStan extension for the debt AI coding agents leave in PHP: swallowed exceptions, god methods, N+1 queries, placeholder bodies and weakened tests, reported as PHPStan errors.
Some custom PHPStan extensions to improve the readability, maintainability and overall quality of your PHP code base.
该项目在 GitHub 上没有填写描述
PHPStan rules bringing added Generator inspections.
PHPStan rules for cdn77/test-utils
Stand-alone interface for a factory-enforcing PHPStan rule
该项目在 GitHub 上没有填写描述
该项目在 GitHub 上没有填写描述
Custom PHPStan rules and extensions for FireHub projects, providing strict static analysis, architectural validation, and enhanced type safety.
关于这个话题
- 清单按 Star 数挑选该话题下最热门的 20 个项目,对应的话题主页见 https://github.com/topics/phpstan-rules。
- 该话题在 GitHub 上共有 24 个仓库, 这里呈现的是其中最具代表性的 20 个,不是全量列表。
- 星标与复刻数以 GitHub 上的实时数字为准。
- 当前 20 个项目累计 1655 Star,覆盖 1 种主要语言。
- 中文简介由本站编译整理,可点「查看原文」对照项目方提供的原始说明。