Libraries tagged by static php
symplify/phpstan-extensions
7945381 Downloads
Pre-escaped error messages in 'symplify' error format, container aware test case and other useful extensions for PHPStan
php-stubs/generator
419415 Downloads
Generate stubs from any PHP code for IDE completion and static analysis.
weirdan/doctrine-psalm-plugin
7748181 Downloads
Stubs to let Psalm understand Doctrine better
scheb/tombstone
689746 Downloads
Dead code detection with tombstones for PHP
php-stubs/wp-cli-stubs
3942582 Downloads
WP-CLI function and class declaration stubs for static analysis.
php-stubs/acf-pro-stubs
1027323 Downloads
Advanced Custom Fields PRO stubs for static analysis.
heyosseus/sloppy
36626 Downloads
Static analysis for the debt AI coding agents leave behind, on any PHP project: 26 rules, architecture policies and module boundaries you describe, git-diff review, coverage-aware reading order, PHPStan baseline-growth detection, a Rector and Pint fix pass, Pest expectations, CI annotations, agent rulesets, Claude Code hooks and an MCP server. Runs inside PHPStan through the separate heyosseus/phpstan-sloppy extension. Extra rules and dashboards for Laravel. Deterministic, local, no LLM.
dave-liddament/sarb
1779771 Downloads
Provides tools for baselining static analysis results and comparing against that baseline
codeigniter/coding-standard
1936839 Downloads
Official Coding Standards for CodeIgniter based on PHP CS Fixer
boundwize/structarmed
1122914 Downloads
Configurable PHP architecture guards — define your layers and rules, then keep them enforced
woocommerce/woocommerce-sniffs
8367199 Downloads
WooCommerce sniffs
calebdw/larastan-livewire
1035983 Downloads
A Larastan / PHPStan extension for Livewire.
tomasvotruba/unused-public
4002727 Downloads
Detect unused public properties, constants and methods in your code
crazywhalecc/static-php-cli
21388 Downloads
Build single static PHP binary, with PHP project together, with popular extensions included.
php-code-archeology/php-code-archeology
24701 Downloads
Static analyzer for PHP project archeology. Calculates various metrics for your codebase.