spaze/phpstan-disallowed-calls
PHPStan extension to define and enforce a denylist of disallowed function and method calls in your codebase. Catch legacy, unsafe, or unwanted APIs during static analysis with configurable rules and helpful error messages.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| contributte/phpstan | 0.90 | Contributte PHPStan integration for Nette projects. Install via Composer and get a ready-to-use PHPStan setup tailored for Nette 3.3+ on PHP 8.2+, with docs and ongoing maintenance by the Contributte team. | 1 | 2 | 2 | 1K | 0 | 10.6 | 42.6 | MIT | 8 months ago | |
| korbeil/phpstan-generic-rules | 0.89 | PHPStan extension that enforces and improves the use of PHP generics. Adds custom rules to catch missing or incorrect template types, invalid generic usages, and helps keep docblocks and type hints consistent for safer, more accurate static analysis. | 12 | 12 | 5 | 7K | 2 | 7.1 | 39.0 | — | 11 months ago | |
| e-lodgy/coding-standard | 0.89 | E-Lodgy’s shared Easy Coding Standard (ECS) configuration for PHP projects. Install via Composer, import the provided ecs.php, and apply consistent formatting and code style rules across your src, tests, and config files. | 0 | 0 | 1 | 5 | 1 | 2.6 | 10.7 | MIT | 2 years ago | |
| kcs/phpstan-strict-rules | 0.89 | Fork of thecodingmachine/phpstan-strict-rules to support PHPStan v2. Adds stricter best-practice rules beyond core PHPStan, especially around exception handling (avoid throwing base Exception, empty catches, proper rethrowing). | 3 | 3 | 0 | 4K | 0 | 0.0 | 42.1 | — | — | |
| shipmonk/phpstan-rules | 0.89 | 40 super-strict PHPStan rules from ShipMonk to plug gaps in extra-strict setups. Install via Composer, include rules.neon, then enable/disable or tune rules per-project. Targets tricky PHP edge cases like unsafe comparisons, casts, arrays, enums and more. | 155 | 157 | 23 | 406K | 1 | 26.1 | 54.5 | MIT | 4 months ago | |
| phpstan/phpstan-strict-rules | 0.88 | Extra-strict, opinionated PHPStan rules for highly defensive, strongly typed PHP. Enforces boolean conditions, numeric operands, strict calls (e.g., in_array), detects useless casts, prevents loop variable overwrites, and requires matching switch/case types. | 705 | 714 | 62 | 3M | 38 | 45.1 | 74.9 | MIT | 2 months ago | |
| slam/phpstan-extensions | 0.87 | PHPStan extensions with extra strict rules: unused variables, closure parameter typehints, enforce ::class notation, forbid goto, naming conventions, validate PHPUnit annotation FQCNs, and restrict access to globals/static properties in specific contexts. | 72 | 72 | 13 | 42K | 2 | 25.5 | 44.3 | MIT | 4 months ago | |
| phpat/phpat | 0.87 | PHPat is a PHPStan extension for architecture testing. Define readable architectural rules and automatically verify boundaries, dependencies, layers, and conventions in your PHP codebase during static analysis. Easy to install via Composer and PHPStan config. | 1,275 | 1,273 | 61 | 632K | 12 | 32.5 | 46.7 | MIT | 6 months ago | |
| ekino/phpstan-banned-code | 0.85 | PHPStan extension to ban unwanted code in your project. Detects calls like var_dump, dd, eval, exit/die, echo/print, shell exec/backticks, and even “use” imports from Tests in non-test files. Configurable rules for CI enforcement. | 299 | 301 | 24 | 164K | 4 | 19.9 | 43.7 | MIT | 6 months ago | |
| swissspidy/phpstan-no-private | 0.82 | PHPStan extension that reports deprecation warnings when code uses “pseudo-private” elements marked with @access private. Helps prevent relying on internal classes, methods, functions, or properties. Easy install via Composer with optional extension-installer support. | 9 | 9 | 1 | 180K | 1 | 1.4 | 55.2 | MIT | 1 year ago |
How can I help you explore Laravel packages today?