Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Phpstan Wordpress Laravel Package

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+.

View on GitHub
Deep Wiki
Context7
v2.0.4

What's Changed

Full Changelog: https://github.com/szepeviktor/phpstan-wordpress/compare/v2.0.3...v2.0.4

v2.0.3

What's Changed

Full Changelog: https://github.com/szepeviktor/phpstan-wordpress/compare/v2.0.2...v2.0.3

v2.0.0

PHPStan 2.0

v2.0.0-rc.3

See #269

v2.0.0-rc.2
v2.0.0-rc.1

Many improvements. More errors spotted.

  • PHPStan 2.0
  • Needs WP stubs 6.6.2
v1.3.4

One more global constant.

v1.3.3

What's Changed

New Contributors

Full Changelog: https://github.com/szepeviktor/phpstan-wordpress/compare/v1.3.2...v1.3.3

v1.3.2
v1.3.1

What's Changed

Full Changelog: https://github.com/szepeviktor/phpstan-wordpress/compare/v1.3.0...v1.3.1

v1.3.0

What's Changed

Thank you @IanDelMar

New Contributors

Full Changelog: https://github.com/szepeviktor/phpstan-wordpress/compare/v1.2.0...v1.3.0

v1.2.0

Thank you @IanDelMar

What's Changed

New Contributors

Full Changelog: https://github.com/szepeviktor/phpstan-wordpress/compare/v1.1.7...v1.2.0

v1.1.7

And many more improvements by @IanDelMar

v1.1.6
v1.1.5
v1.1.4

Add type checking for hook callbacks in add_action and add_filter

v1.1.3

Support more WordPress core functions.

v1.1.2

Support WP 6.0 and wp_parse_url

v1.1.1

Dedicated to @bart-jaskulski :)

v1.1.0

Support PHPStan v1.6

v1.0.5

Support is_wp_error()

v1.0.4
v1.0.3

Support 3 more functions

v1.0.2
v1.0.1
  • Check apply_filters calls
  • Add tests
v1.0.0

@johnbillion added many new extensions.

v0.7.7
v0.7.6
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc
animalyoung/laravel-influxdb
onix-solutions/sms-telera
lonely-lights/prosetta
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log