zepfietje / laravel-stubs
Clean versions of the stubs shipped with Laravel.
Installs: 6 104
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: ^8.0
- laravel/framework: ^9.0
Requires (Dev)
- phpunit/phpunit: ^9.3
README
Laravel Stubs
This package contains clean versions of the stubs shipped with Laravel.
Most notably:
- Type declarations are used instead of DocBlocks.
- Controllers don't extend a base controller.
Installation
- Install this package:
composer require zepfietje/laravel-stubs --dev
- Add the following hook to the scripts in
composer.json
to keep your stubs in sync with updates to this package:"post-update-cmd": [ "@php artisan stub:publish --force" ]
- Publish the stubs:
php artisan stub:publish