mltstephane / laravel-stubs
Opinionated Laravel stubs
Fund package maintenance!
spatie.be/open-source/support-us
Requires
- php: ^8.2
- laravel/framework: ^11.0
Requires (Dev)
- mockery/mockery: ^1.4
- orchestra/testbench: ^9.0
- pestphp/pest: ^2.0
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.