szepeviktor/phpstan-wordpress
PHPStan extension that enables static analysis of WordPress plugins and themes: loads WordPress stubs, adds dynamic return types, defines core constants, and validates apply_filters/do_action docblocks. Requires PHPStan 2.0+ and PHP 7.4+.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| contributte/phpstan | 0.85 | 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 | 24K | 0 | 4.8 | 56.9 | MIT | 10 months ago | |
| laravel-admin/wordpress-helpers | 0.85 | Experimental helpers to run WordPress headlessly behind a Laravel frontend. Installs WordPress via Composer (wpackagist), sets plugin/theme paths, publishes public assets, and exposes /wordpress/wp-admin for setup plus custom post types/taxonomies. | 2 | 2 | 0 | 0 | 6 | 2.2 | 1.5 | — | 9 years ago | |
| php-static-analysis/phpstan-extension | 0.85 | A PHPStan extension for PHP projects that adds custom rules and configuration to strengthen static analysis. Integrate it with PHPStan to catch potential issues earlier, enforce coding standards, and improve overall code quality in your development workflow. | 15 | 15 | 0 | 2K | 0 | 0.1 | 30.0 | MIT | 1 year ago | |
| automattic/phpcs-neutron-ruleset | 0.84 | Neutron ruleset for PHP_CodeSniffer from Automattic. Provides opinionated coding standards and sniffs to enforce consistent PHP style across projects, helping catch formatting and quality issues in CI and local development. | 17 | 17 | 6 | 2K | 1 | 5.2 | 27.3 | — | 5 years ago | |
| szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset | 0.84 | Hybrid PHP_CodeSniffer ruleset for OOP WordPress: PSR-12 Extended formatting plus Neutron/WPCS checks, strict types, file permissions, docblocks, and selected Slevomat rules. Install via Composer and run phpcs with PSR12NeutronRuleset. | 11 | 11 | 2 | 1K | 6 | 21.0 | 32.1 | MIT | 3 months ago | |
| php-stubs/wordpress-stubs | 0.84 | Stub declarations for WordPress core functions, classes, and interfaces (globals excluded), generated from johnpbloch's wordpress-core via php-stubs/generator. Helps plugin and theme developers leverage static analysis tools like PHPStan and Psalm, and improves IDE code completion and intellisense. | 212 | 204 | 27 | 1M | 8 | 32.7 | 65.3 | MIT | 1 month ago | |
| php-standard-library/phpstan-extension | 0.84 | PHPStan extension for the PHP Standard Library (PSL) that teaches PHPStan about PSL types, generics, and collection APIs. It improves type inference, adds custom rules, reduces false positives, and catches PSL-specific errors during static analysis for safer, more reliable PHP code. | 24 | 24 | 7 | 66K | 14 | 12.4 | 56.8 | — | 7 months ago | |
| phpcompatibility/phpcompatibility-wp | 0.84 | WordPress-focused PHP_CodeSniffer ruleset for checking PHP cross-version compatibility. Built on PHPCompatibility, it avoids false positives by excluding WordPress backfills and polyfills so you can scan WP plugins, themes, and sites accurately. | 224 | 230 | 13 | 2M | 1 | 7.9 | 56.3 | LGPL-3.0 | 10 months ago | |
| calebdw/phpstan-laravel | 0.84 | A PHPStan extension for Laravel that teaches static analysis about Laravel’s magic, including facades, helpers, Eloquent models, and container bindings, reducing false positives and surfacing more accurate type errors in Laravel apps. | 35 | 35 | 7 | 12K | 0 | 20.4 | 40.9 | MIT | 6 days ago | |
| dave-liddament/phpstan-php-language-extensions | 0.84 | A PHPStan extension that adds support for extra PHP language features and type declarations, widening static analysis coverage so PHPStan understands more of your code. Helps catch bugs earlier and reduces false positives in Laravel and PHP projects. | 44 | 45 | 4 | 25K | 0 | 1.7 | 38.4 | MIT | 11 months ago | |
| grifart/phpstan-oneline | 0.84 | A PHPStan extension that formats each reported error on a single line, making analysis output easier to read, search, and parse in CI logs or terminals. Useful for grep-friendly error reports and cleaner build output. | 24 | — | 5 | — | 1 | 0.5 | — | MIT | 1 year ago |
|
| phpstan/phpstan-php-parser | 0.84 | PHPStan extension for nikic/php-parser that adds precise type inference for AST nodes and visitors, improving static analysis of code that parses, traverses, or manipulates PHP source. | 23 | 23 | 8 | 19K | 1 | 0.3 | 28.3 | — | 4 years ago | |
| wp-starter/support | 0.84 | Lightweight support utilities for WP Starter projects. Includes helpful helpers, common abstractions, and shared tooling to speed up WordPress development and keep starter-based apps consistent, clean, and easier to maintain. | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 3 years ago | |
| mukadi/wordpress-bundle | 0.84 | A Symfony bundle that integrates WordPress into your application, letting you use WordPress core features and functions alongside Symfony. It streamlines bridging content, hooks, and templating so you can build hybrid apps without duplicating setup or fighting two frameworks. | 22 | 22 | 10 | 0 | 4 | 1.4 | 0.8 | — | — | |
| prinsfrank/phpstan-doc-code-analyzer | 0.84 | Analyze and validate PHP code examples in your documentation using PHPStan. This package scans doc blocks and docs for code snippets, runs static analysis, and helps catch outdated or incorrect examples early in CI. | 2 | 2 | 0 | 2K | 0 | 1.0 | 38.8 | MIT | 1 year ago | |
| johnpbloch/wordpress-core-installer | 0.84 | Composer plugin that installs WordPress core outside vendor, designed for setups with WordPress in a subdirectory and wp-content moved elsewhere to avoid updates wiping content. Supports custom install paths via wordpress-install-dir. | 203 | 216 | 41 | 131K | 5 | 3.9 | 39.7 | GPL-2.0 | 6 years ago | |
| shipmonk/phpstan-dev | 0.83 | Utilities for developing PHPStan rules: write expected errors directly in fixture files using // error: comments and avoid brittle line-number assertions. Includes an autofix mode to generate/update inline error comments during rule development. | 7 | 7 | 1 | 6K | 1 | 7.2 | 41.5 | MIT | 9 months ago | |
| phpstan/phpstan | 0.83 | PHPStan is a PHP static analysis tool that finds bugs in your code without running it. It catches whole classes of errors before tests are written, bringing compiled-language-style correctness checks to PHP projects. | 14,147 | 14,221 | 972 | 19M | 1,056 | 94.9 | 77.1 | MIT | 4 days ago | |
| roots/wordpress | 0.83 | Composer-managed WordPress package from Roots. Installs WordPress in a clean, modern directory structure with environment-based configuration, making core updates and dependencies easy to manage in version-controlled projects. | 200 | 210 | 14 | 603K | 0 | 21.4 | 56.4 | MIT | 1 week ago | |
| voku/phpstan-rules | 0.83 | Additional PHPStan rules to catch risky and redundant condition logic and comparisons. Detects double negatives, PHP 8 behavior changes (0 vs ''), insane/invalid comparisons (0=='0foo', 0==='0'), and type-mismatch checks (e.g., object vs non-object). | 33 | 33 | 1 | 7K | 1 | 0.5 | 32.1 | MIT | — |
How can I help you explore Laravel packages today?