php-stubs/wordpress-stubs
WordPress core stubs for static analysis and IDE autocompletion (functions, classes, interfaces; no globals). Generated from johnpbloch/wordpress-core. Works with PHPStan (via phpstan-wordpress) and Psalm stubs config. Requires PHP 7.4/8.0.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| prinsfrank/phpstan-doc-code-analyzer | 0.86 | 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. | 1 | 1 | 0 | 1K | 0 | 3.3 | 38.6 | MIT | 10 months ago | |
| voku/phpstan-rules | 0.84 | 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 | 3K | 1 | 0.4 | 26.6 | MIT | — | |
| szepeviktor/phpstan-wordpress | 0.84 | PHPStan rules and stubs tailored for WordPress projects. Adds accurate type information for core functions, hooks, and globals to catch bugs earlier and improve static analysis in plugins and themes. Easy to integrate into existing PHPStan setups. | 330 | 333 | 30 | 815K | 12 | 20.0 | 52.5 | MIT | 9 months ago | |
| phpstan/php-8-stubs | 0.84 | Stub files for PHP 8 built-in functions, classes, and extensions, maintained for PHPStan. Improves static analysis and type inference by providing accurate signatures and phpDoc where native reflection is incomplete or inconsistent. | 31 | 31 | 11 | 333K | 4 | 28.3 | 66.1 | MIT | 1 month ago | |
| e-lodgy/coding-standard | 0.84 | 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 | |
| wp-starter/console | 0.84 | Laravel console utilities for WordPress starter projects. Provides commands and helpers to scaffold, manage, and automate common WP setup tasks from the CLI, streamlining development workflows when integrating WP into a Laravel-based setup. | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 3 years ago | |
| jetbrains/phpstorm-stubs | 0.83 | Syntactically correct PHP stub files for core and common extensions, providing function/class signatures, constants, and comprehensive PHPDoc for accurate IDE completion, inspections, type inference, and documentation in PhpStorm and other tools. | 1,390 | 1,373 | 825 | 2M | 0 | 48.4 | 51.7 | Apache-2.0 | 2 weeks ago | |
| phpstan/phpstan | 0.83 | PHPStan is a static analysis tool for PHP that finds bugs without running your code. It catches whole classes of errors early, improving type safety and code correctness, and helps you spot issues before writing tests or deploying. | 14,057 | 14,126 | 958 | 10M | 1,072 | 94.7 | 73.3 | MIT | 1 day ago | |
| php-decimal/stubs | 0.83 | IDE and static analysis stubs for the PHP Decimal extension. Provides PHP method/function signatures to improve autocompletion and type checking without requiring the extension source. For installing the actual extension, see php-decimal/php-decimal. | 6 | 6 | 6 | 28K | 1 | 0.3 | 49.6 | MIT | — | |
| soyuka/stubs-mongodb | 0.83 | Laravel stub overrides to generate models/migrations geared for MongoDB usage. Adds MongoDB-friendly boilerplate when running artisan make commands so new classes start with the right base classes, traits, and conventions for jenssegers/mongodb-style projects. | 3 | 4 | 1 | 36K | 0 | 0.0 | 54.7 | Apache-2.0 | — | |
| wp-starter/contracts | 0.82 | Laravel/PHP contract interfaces for a WordPress starter kit. Defines shared abstractions to keep packages decoupled and implementations swappable, providing a lightweight base for building WordPress integrations in a Laravel-style architecture. | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 3 years ago | |
| empi89/php-amqp-stubs | 0.82 | Provides PHP stub files for AMQP-related extensions, improving IDE autocomplete, static analysis, and type hints in projects that use AMQP functions/classes without bundling the actual extension. Useful for CI, analysis, and editor support. | 3 | 4 | 8 | 2K | 0 | 0.4 | 37.3 | — | — | |
| binafy/laravel-stub | 0.82 | — | 98 | 100 | 8 | 5K | 0 | 18.5 | 27.0 | MIT | 3 months ago | |
| openswoole/ide-helper | 0.82 | Generates IDE helper stubs for OpenSwoole, improving autocompletion, type hints, and static analysis in PhpStorm and other editors. Useful for Swoole-style async/server apps to navigate APIs faster and reduce guesswork. | 58 | 60 | 7 | 26K | 0 | 0.5 | 36.4 | — | — | |
| carlescliment/chained-stubs-bundle | 0.82 | — | 0 | 0 | 1 | 0 | 0 | 0.0 | — | — | — | |
| berry/extension-method-stub-generator | 0.82 | Composer plugin that scans dependencies for berry-method-extensions.json and generates PHP stub files for Berry “extension methods”. Improves IDE autocomplete and supports static analysis (e.g., PHPStan) by exposing fluent methods via generated stubs. | 0 | 0 | 0 | 181 | 0 | 0.0 | 31.2 | MIT | — | |
| rawilk/laravel-stubs | 0.81 | Opinionated Laravel stubs with strict types, fewer docblocks, unguarded models, controllers without a base class, migrations without down methods, and added return type hints. Publish via artisan and optionally keep stubs updated via composer hooks. | 1 | 1 | 0 | 47 | 0 | 20.3 | 21.9 | MIT | 2 months ago | |
| johnpbloch/wordpress-core-installer | 0.80 | 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. | 205 | 219 | 42 | 173K | 5 | 3.9 | 41.3 | GPL-2.0 | 6 years ago | |
| spatie/laravel-stubs | 0.80 | Opinionated Laravel stub templates from Spatie. Publish customized stubs for migrations, controllers, and models: no down() in migrations, controllers don’t extend a base, no guarded attributes, more return types, fewer docblocks. | 252 | 252 | 37 | 26K | 0 | 22.2 | 30.7 | MIT | 5 months ago | |
| php-stubs/generator | 0.80 | Generate PHP stub files from your codebase for better IDE autocomplete, static analysis, and documentation. php-stubs/generator scans sources and produces lightweight stubs suitable for packages and frameworks, helping consumers get accurate type hints without shipping full sources. | 82 | 82 | 24 | 15K | 3 | 23.8 | 37.1 | MIT | 1 month ago |
How can I help you explore Laravel packages today?