jetbrains/phpstorm-stubs
PhpStorm Stubs: syntactically correct PHP files with signatures, constants, and PHPDoc for PHP core and many extensions. Used by IDEs for completion, inspections, type inference, and documentation popups. Community-driven support for non-standard extensions.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| soyuka/stubs-mongodb | 0.88 | 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 | 50K | 0 | 0.0 | 55.3 | Apache-2.0 | — | |
| php-stubs/generator | 0.88 | 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. | 79 | 81 | 23 | 15K | 4 | 16.1 | 1.3 | MIT | 4 months ago | |
| empi89/php-amqp-stubs | 0.87 | 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 | 38.6 | — | — | |
| php-decimal/stubs | 0.87 | 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 | 30K | 1 | 0.3 | 50.0 | MIT | — | |
| spatie/laravel-stubs | 0.86 | 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. | 251 | 251 | 37 | 20K | 0 | 25.2 | 29.7 | MIT | 3 months ago | |
| openswoole/ide-helper | 0.86 | 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 | 25K | 0 | 0.5 | 36.4 | — | — | |
| phpstan/php-8-stubs | 0.86 | 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 | 401K | 4 | 21.0 | 1.3 | MIT | 2 weeks ago | |
| php-stubs/wordpress-stubs | 0.86 | 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. | 199 | 199 | 23 | 983K | 11 | 33.9 | 64.9 | MIT | 2 weeks ago | |
| carlescliment/chained-stubs-bundle | 0.86 | — | 0 | 0 | 1 | 0 | 0 | 0.0 | — | — | — | |
| kwn/php-rdkafka-stubs | 0.85 | IDE helper stubs for php-rdkafka (librdkafka) extension. Adds classes, methods and constants for Kafka producers/consumers to improve autocompletion and static analysis in PHP projects without requiring the extension at dev time. | 151 | 153 | 35 | 99K | 3 | 20.0 | 45.3 | MIT | 2 months ago | |
| atoum/stubs | 0.85 | IDE stubs for atoum providing PHPDoc annotations and full code completion without cluttering atoum’s core source. Install via Composer, use the atoum/mageekguy\atoum aliases in tests, and get richer autocompletion for the userland API. | 16 | 17 | 5 | 9K | 4 | 10.5 | 39.3 | NOASSERTION | 7 months ago | |
| rawilk/laravel-stubs | 0.85 | 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 | 143 | 0 | 23.5 | 30.1 | MIT | 2 weeks ago | |
| berry/extension-method-stub-generator | 0.84 | 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 | 219 | 0 | 0.0 | 32.4 | MIT | — | |
| binafy/laravel-stub | 0.84 | — | 100 | 100 | 8 | 5K | 0 | 21.0 | 27.3 | MIT | 1 month ago | |
| fabpot/php-cs-fixer | 0.82 | PHP CS Fixer is a command-line tool for automatically fixing PHP coding standards issues. It formats and modernizes code using configurable rulesets, supports custom rule configurations, and helps keep projects consistent and clean across teams and CI. | 13,520 | 13,538 | 1,634 | 21K | 44 | 85.5 | 39.5 | MIT | 3 weeks ago | |
| friendsofphp/php-cs-fixer | 0.82 | PHP CS Fixer automatically fixes PHP code to match coding standards. Use built-in rule sets (PER-CS, Symfony, PhpCsFixer) or custom config to unify style, modernize PHP/PHPUnit code, and apply safe or risky migrations. Supports PHP 7.4–8.5. | 13,520 | 13,609 | 1,635 | 5M | 44 | 86.2 | 72.3 | MIT | 3 weeks ago | |
| slam/php-cs-fixer-extensions | 0.80 | Extensions and ready-to-use rulesets for FriendsOfPHP PHP-CS-Fixer. Adds custom fixers like final_abstract_public, final_internal_class, utf8 cleanup, inline comment spacing, function reference spacing, and PHP-only proxy fixers for consistent code style. | 68 | 68 | 2 | 11K | 1 | 24.4 | 34.6 | MIT | 2 months ago |
How can I help you explore Laravel packages today?