Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

zepfietje/laravel-stubs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Packagist Version Packagist Downloads

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

  1. Install this package:
    composer require zepfietje/laravel-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 stub:publish --force"
    ]
  3. Publish the stubs:
    php artisan stub:publish