-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
88 lines (88 loc) · 3.34 KB
/
composer.json
File metadata and controls
88 lines (88 loc) · 3.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "craftzing/php-testbench",
"description": "Combining all common test tools and utilities",
"keywords": ["php", "laravel", "laravel-framework", "test", "testing", "test bench", "utilities"],
"type": "library",
"homepage": "https://github.com/craftzing/php-testbench",
"support": {
"issues": "https://github.com/craftzing/php-testbench/issues",
"source": "https://github.com/craftzing/php-testbench"
},
"license": "MIT",
"authors": [
{
"name": "Rémi Pelhate",
"email": "remi.pelhate@craftzing.com"
},
{
"name": "Pieter Pelgrims",
"email": "pieter.pelgrims@craftzing.com"
}
],
"require": {
"php": "^8.4",
"fakerphp/faker": "^1.24"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.75",
"illuminate/collections": "^10.10|^11.0|^12.0",
"illuminate/console": "^10.10|^11.0|^12.0",
"illuminate/container": "^10.10|^11.0|^12.0",
"illuminate/contracts": "^10.10|^11.0|^12.0",
"illuminate/support": "^10.10|^11.0|^12.0",
"orchestra/testbench": "^9.9",
"phpstan/phpstan": "^2.1",
"phpunit/phpunit": "^11.5",
"saloonphp/saloon": "^3.13"
},
"suggest": {
"illuminate/collections": "Needed to use testbench utils for Laravel (Craftzing\\TestBench\\Laravel) and factories",
"illuminate/console": "Needed to use testbench utils for Laravel (Craftzing\\TestBench\\Laravel)",
"illuminate/container": "Needed to use testbench utils for Laravel (Craftzing\\TestBench\\Laravel)",
"illuminate/contracts": "Needed to use testbench utils for Laravel (Craftzing\\TestBench\\Laravel)",
"illuminate/support": "Needed to use testbench utils for Laravel (Craftzing\\TestBench\\Laravel) and factories",
"saloonphp/saloon": "Needed to use testbench utils for Saloon PHP (Craftzing\\TestBench\\Saloon)"
},
"conflict": {
"illuminate/collections": "<10.10",
"illuminate/container": "<10.10",
"illuminate/console": "<10.10",
"illuminate/contracts": "<10.10",
"illuminate/support": "<10.10",
"phpunit/phpunit": "<11.5 || >=12.0",
"saloonphp/saloon": "<3.0"
},
"autoload": {
"psr-4": {
"Craftzing\\TestBench\\": "src"
}
},
"config": {
"sort-packages": true
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"cs:check": "PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --verbose --dry-run",
"cs:fix": "PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --verbose",
"phpstan": "vendor/bin/phpstan analyse --memory-limit=2G --ansi",
"phpunit": "vendor/bin/phpunit --colors=always --display-phpunit-deprecations --display-deprecations",
"test": [
"@composer cs:check",
"@composer phpstan",
"@composer phpunit"
],
"coverage:summary": "@composer phpunit -- --coverage-text",
"coverage:report": "@composer phpunit -- --coverage-html=.reports/coverage"
},
"extra": {
"branch-alias": {
"dev-main": "1.0.x-dev"
},
"laravel": {
"providers": [
"Craftzing\\TestBench\\Laravel\\ServiceProvider"
]
}
}
}