spatie/laravel-stubs is a Laravel package for opinionated laravel stubs.
It currently has 251 GitHub stars and 676.813 downloads on Packagist (latest version 3.2.0).
Install it with composer require spatie/laravel-stubs.
Discover more Laravel packages by spatie
or browse all Laravel packages to compare alternatives.
Last updated
This repo contains opinionated versions of the Laravel stubs. The most notable changes are:
down functionWe invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.
In this video on YouTube, Povilas Korop explores our package.
You can install the package via composer:
composer require spatie/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 spatie-stub:publish --force"
]
}
You can publish the stubs using this command:
php artisan spatie-stub:publish
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
If you've found a bug regarding security please mail [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.