rawilk/laravel-stubs
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/laravel-stubs | 0.85 | 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 | |
| binafy/laravel-stub | 0.84 | — | 98 | 100 | 8 | 5K | 0 | 18.5 | 27.0 | MIT | 3 months ago | |
| php-stubs/generator | 0.83 | 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 | |
| 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.0 | 51.9 | Apache-2.0 | 2 weeks ago | |
| carlescliment/chained-stubs-bundle | 0.82 | — | 0 | 0 | 1 | 0 | 0 | 0.0 | — | — | — | |
| php-stubs/wordpress-stubs | 0.82 | 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. | 201 | 203 | 25 | 1M | 7 | 30.1 | 62.6 | MIT | 2 months ago | |
| empi89/php-amqp-stubs | 0.81 | 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 | — | — | |
| purwantoid/package-generator | 0.81 | — | 0 | 0 | 0 | 0 | 0 | 8.1 | — | — | 7 months ago | |
| soyuka/stubs-mongodb | 0.81 | 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 | — | |
| phpstan/php-8-stubs | 0.81 | 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 | |
| atoum/stubs | 0.80 | 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 | 7K | 4 | 3.4 | 27.0 | NOASSERTION | 9 months ago | |
| mckenziearts/laravel-command | 0.80 | Dev-only Artisan generators for Laravel: quickly scaffold templated repositories, helpers, and observers. Adds make:repository and related commands to create boilerplate files, with configurable model namespaces for non-standard app structures. | 32 | 32 | 2 | 0 | 0 | 0.5 | — | — | 8 years ago | |
| openswoole/ide-helper | 0.80 | 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 | — | — | |
| ajaykushwaha25/custom-make-command | 0.80 | 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 | 46 | 0 | 1.5 | 19.1 | MIT | 3 years ago | |
| barryvdh/laravel-ide-helper | 0.80 | Generates accurate PHPDoc helper files for Laravel to improve IDE autocompletion and type hints. Create _ide_helper.php for facades, add or export model PHPDocs, fluent methods, factory builders, and PhpStorm container metadata—kept in sync with your project. | 14,951 | 15,205 | 1,191 | 3M | 160 | 81.6 | 61.5 | MIT | 4 months ago | |
| queents/console-helpers | 0.80 | — | 0 | 0 | 0 | 1K | 1 | 0.7 | 42.8 | MIT | 3 years ago | |
| php-decimal/stubs | 0.80 | 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 | — | |
| arafat69/laravel-repository | 0.80 | — | 0 | 1 | 0 | 376 | 0 | 10.3 | 38.2 | MIT | 7 months ago | |
| fukibay/laravel-starter-pack | 0.79 | Interactive Laravel starter pack for clean architecture with Repository/Service layers. One install command scaffolds base infrastructure, error handling, helpers, and DB config. Includes smart make commands, SoftDeletes auto-detection, QueryParameters DTO, MySQL/PostgreSQL support. | 1 | 1 | 0 | 0 | 0 | 0.0 | — | — | — | |
| algoyounes/laravel-package-skeleton | 0.79 | — | 28 | 28 | 4 | 0 | 0 | 4.7 | — | MIT | 1 year ago |
How can I help you explore Laravel packages today?