mll-lab/laravel-strict-stubs

This package is abandoned and no longer maintained. The author suggests using the https://github.com/mll-lab/laravel-utils package instead.

Strictly typed replacements for the default Laravel generator stubs

v2.0.1 2023-02-14 14:32 UTC

This package is auto-updated.

Last update: 2024-04-23 08:16:18 UTC


README

This package is now integrated into mll-lab/laravel-utils.

laravel-strict-stubs

Strictly typed replacements for the default Laravel generator stubs

GitHub license Packagist Packagist

Installation

composer require --dev mll-lab/laravel-strict-stubs

Usage

To continually keep your stubs updated with the latest and greatest from this package, add /stubs to your .gitignore and add the following to your composer.json:

    "scripts": {
        "post-update-cmd": [
            "Illuminate\\Foundation\\ComposerScripts::postUpdate",
+           "@php artisan vendor:publish --tag=strict-stubs --force"
        ]
    }