Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

zepfietje/laravel-nova-stubs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Packagist Version Packagist Downloads Starware

Laravel Nova Stubs

This package contains clean versions of the stubs shipped with Laravel Nova.
Most notably, type declarations are used instead of DocBlocks.

Installation

  1. Install this package.
    $ composer require zepfietje/laravel-nova-stubs --dev
  2. 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"
    ]
    
  3. Publish the stubs.
    $ php artisan nova:stubs

Starware

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. ⭐