joshbonnick / laravel-stubs
Opinionated Laravel stubs
v1.5
2024-05-27 13:35 UTC
Requires
- php: ^8.1
- laravel/framework: ^10.0|^11.0
- laravel/pint: ^1.16
Requires (Dev)
- mockery/mockery: ^1.4
- orchestra/testbench: ^6.24|^7.0|^8.0
- pestphp/pest: ^1.22
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