This package contains clean versions of the stubs shipped with Laravel Nova.
Most notably, type declarations are used instead of DocBlocks.
- Install this package.
$ composer require zepfietje/laravel-nova-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 nova:stubs --force" ]
- Publish the stubs.
$ php artisan nova:stubs
Laravel Nova Stubs is Starware.
This means you're free to use the project, as long as you star its GitHub repository.
Your appreciation makes us grow and glow up. ⭐