mll-lab / laravel-strict-stubs
Strictly typed replacements for the default Laravel generator stubs
Installs: 14 068
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: ^8
- illuminate/contracts: ^8.37 || ^9
Requires (Dev)
- ergebnis/composer-normalize: ^2.28.3
- mll-lab/php-cs-fixer-config: ^4.4.1
- nunomaduro/larastan: ^1.0.3 || ^2.1.11
- orchestra/testbench: ^6.24.1 || ^7.6.0
- phpstan/phpstan-phpunit: ^1.1.1
- phpunit/phpunit: ^9.5.21
README
This package is now integrated into mll-lab/laravel-utils
.
laravel-strict-stubs
Strictly typed replacements for the default Laravel generator stubs
Installation
composer require --dev mll-lab/laravel-strict-stubs
Usage
To continually keep your stubs updated with the latest and greatest from this package,
add /stubs
to your .gitignore
and add the following to your composer.json
:
"scripts": {
"post-update-cmd": [
"Illuminate\\Foundation\\ComposerScripts::postUpdate",
+ "@php artisan vendor:publish --tag=strict-stubs --force"
]
}