joshbonnick/laravel-stubs

Opinionated Laravel stubs

v1.5 2024-05-27 13:35 UTC

This package is auto-updated.

Last update: 2024-10-27 14:46:14 UTC


README

This repo contains opinionated versions of the Laravel stubs.

Forked from spatie/laravel-stubs

Installation

You can install the package via composer:

composer require joshbonnick/laravel-stubs --dev

If you want to keep your stubs up to date with every update, add this composer hook to your composer.json file:

"scripts": {
    "post-update-cmd": [
        "@php artisan laravel-stubs:publish --force"
    ]
}

Usage

You can publish the stubs using this command:

php artisan laravel-stubs:publish

Testing

composer test