Looking to hire Laravel developers? Try LaraJobs

laravel-strict-stubs maintained by mll-lab

Description
Strictly typed replacements for the default Laravel generator stubs
Last update
2023/06/29 11:40 (dev-master)
License
Links
Downloads
14 069
Tags

Comments
comments powered by Disqus

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