spatie/laravel-stubs
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| rawilk/laravel-stubs | 0.87 | 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 | |
| binafy/laravel-stub | 0.86 | — | 100 | 100 | 8 | 5K | 0 | 21.0 | 27.3 | MIT | 1 month ago | |
| atoum/stubs | 0.86 | 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 | |
| soyuka/stubs-mongodb | 0.85 | 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.85 | 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 | |
| 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 | 401K | 4 | 21.0 | 1.3 | MIT | 2 weeks ago | |
| ajaykushwaha25/custom-make-command | 0.84 | Laravel dev package adding custom Artisan generators: make:trait plus custom:class, custom:action, and custom:service to scaffold files under App (and subfolders). Also includes a UsesUUID trait to add UUID IDs to Eloquent models. | 1 | 1 | 0 | 66 | 0 | 1.5 | 21.2 | MIT | 3 years ago | |
| jetbrains/phpstorm-stubs | 0.84 | 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. | 1,385 | 1,373 | 824 | 2M | 0 | 46.9 | 50.6 | Apache-2.0 | 1 month ago | |
| php-stubs/wordpress-stubs | 0.84 | 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 | |
| purwantoid/package-generator | 0.83 | — | 0 | 0 | 0 | 0 | 0 | 10.8 | — | — | 5 months ago | |
| queents/console-helpers | 0.83 | — | 0 | 0 | 0 | 1K | 1 | 0.7 | 42.7 | MIT | 3 years ago | |
| carlescliment/chained-stubs-bundle | 0.83 | — | 0 | 0 | 1 | 0 | 0 | 0.0 | — | — | — | |
| spatie/laravel-data | 0.82 | Create rich, typed data objects for Laravel that replace form requests and API transformers. Automatically map from requests, validate with inferred rules, transform to resources (with lazy/partial fields), and generate TypeScript definitions from the same source. | 1,757 | 1,760 | 282 | 2M | 3 | 47.5 | 49.2 | MIT | 4 weeks ago | |
| citizen63000/easy-api-core | 0.82 | — | 0 | 0 | 1 | 5 | 0 | 6.1 | 11.2 | MIT | 9 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 | 25K | 0 | 0.5 | 36.4 | — | — | |
| spatie/boost-spatie-guidelines | 0.82 | AI-optimized Spatie coding guidelines for Laravel Boost. Installs battle-tested Laravel & PHP standards into your .ai/guidelines folder so AI assistants generate PSR-compliant, convention-driven code (types, naming, control flow, testing) automatically. | 105 | 103 | 3 | 39K | 0 | 16.5 | 40.2 | MIT | 2 months 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 | 38.6 | — | — | |
| dovstone/symfony-blog-admin-bundle-mongodb-based | 0.82 | — | 0 | 0 | 0 | 0 | 0 | 0.3 | — | — | 3 years ago | |
| 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 | 219 | 0 | 0.0 | 32.4 | MIT | — | |
| stentle-hackers/laravel-webcore | 0.82 | — | 0 | 0 | 0 | 0 | 0 | 2.7 | — | — | 5 years ago |
How can I help you explore Laravel packages today?