mltstephane/laravel-stubs

Opinionated Laravel stubs
409
Install
composer require mltstephane/laravel-stubs
Latest Version:1.1.0
PHP:^8.2
License:MIT
Last Updated:Oct 13, 2025
Links: GitHub  ·  Packagist
Maintainer: MltStephane

Opinionated Laravel stubs

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.

Related Packages

spatie/laravel-stubs

Opinionated Laravel stubs

731,481 252
spatie/laravel-permission

Permission handling for Laravel 12 and up

111,108,695 12,958
spatie/laravel-medialibrary

Associate files with Eloquent models

46,841,204 6,159
spatie/laravel-activitylog

A very simple activity logger to monitor the users of your website or applicatio...

58,024,393 5,890
spatie/laravel-backup

A Laravel package to backup your application

26,200,085 6,018