zepfietje / laravel-stubs
This package is abandoned and no longer maintained.
No replacement package was suggested.
Clean versions of the stubs shipped with Laravel.
3.4.1
2023-01-16 11:20 UTC
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.jsonto 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