defstudio / laravel-dev-dependencies
A collection of laravel development dependencies
Installs: 4 230
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- friendsofphp/php-cs-fixer: ^v3.3
- infection/infection: ^0.26.0
- nunomaduro/larastan: ^2.0
- pestphp/pest: ^v1.18
- pestphp/pest-plugin-faker: ^1.0
- pestphp/pest-plugin-laravel: ^1.0
- pestphp/pest-plugin-livewire: ^v1.0
- pestphp/pest-plugin-mock: ^1.0
- pestphp/pest-plugin-parallel: ^0.3 || ^1.0
- spatie/pest-plugin-test-time: ^1.0
- spatie/x-ray: dev-main
README
Installation
You can install this package via Composer:
composer require --dev defstudio/laravel-dev-dependencies
Setup
Publishing Assets
Composer Scripts
Add the following scripts to composer.json
"php-cs-fixer": "php-cs-fixer fix -v --config=./.php-cs-fixer.php",
"lint": "@php-cs-fixer",
"test:lint": "@php-cs-fixer --dry-run",
"test:types": "php ./vendor/bin/phpstan analyse --ansi --memory-limit=-1",
"test:mutation": "./vendor/bin/infection --test-framework=pest --show-mutations",
"test": "php ./vendor/bin/pest --colors=always --parallel",
"x-ray": "./vendor/bin/x-ray .",
"update:snapshots": "php ./vendor/bin/pest --colors=always -d --update-snapshots",
"test:all": [
"@test:lint",
"@test:types",
"@test",
"@x-ray".
]