zepfietje/laravel-stubs

This package is abandoned and no longer maintained. No replacement package was suggested.

Clean versions of the stubs shipped with Laravel.

Installs: 6 108

Dependents: 0

Suggesters: 0

Security: 0

Stars: 9

Watchers: 2

Forks: 1

Open Issues: 0

pkg:composer/zepfietje/laravel-stubs

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