techieni3 / laravel-stubs
Opinionated Laravel stubs
v1.0.1
2025-04-04 18:11 UTC
Requires
- php: ^8.4
- laravel/framework: ^12.0
Requires (Dev)
- laravel/pint: ^1.15
- orchestra/testbench: ^10.0
- pestphp/pest: ^v3.8.1
- phpstan/phpstan: ^2.0
README
This repo contains opinionated versions of the Laravel default stubs, feel free to modify after publishing.
Installation
You can install this package using composer:
composer require --dev techieni3/laravel-stubs
If you want to make sure these stubs stay up to date with every update, add this composer hook to your composer.json
file:
"scripts": { "post-update-cmd": [ "@php artisan publish:stubs --force" ] }
Usage
You can publish the stubs using this command:
php artisan publish:stubs
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security
If you've found a bug regarding security please mail niteen1593@gmail.com instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.