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

This package is auto-updated.

Last update: 2023-02-14 13:13:51 UTC


README

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