mltstephane/laravel-stubs

Opinionated Laravel stubs

1.0.1 2024-04-25 18:53 UTC

This package is auto-updated.

Last update: 2024-10-25 19:53:52 UTC


README

Installation

You can install the package via composer:

composer require mltstephane/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 stub:publish-opinionated --force"
    ]
}

Usage

You can publish the stubs using this command:

php artisan stub:publish-opinionated

Testing

composer test

Credits

License

The MIT License (MIT). Please see License File for more information.