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

mll-lab/laravel-strict-stubs

Repository files navigation

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"
        ]
    }