-
-
Notifications
You must be signed in to change notification settings - Fork 41
/
composer.json
116 lines (116 loc) · 4.05 KB
/
composer.json
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "orchestra/testbench-core",
"description": "Testing Helper for Laravel Development",
"homepage": "https://packages.tools/testbench",
"keywords": ["laravel", "laravel-packages", "testing", "tdd", "bdd", "dev"],
"license": "MIT",
"support": {
"issues": "https://github.com/orchestral/testbench/issues",
"source": "https://github.com/orchestral/testbench-core"
},
"authors": [
{
"name": "Mior Muhammad Zaki",
"email": "[email protected]",
"homepage": "https://github.com/crynobone"
}
],
"autoload": {
"psr-4": {
"Orchestra\\Testbench\\": "src/"
},
"files": [
"src/functions.php"
]
},
"autoload-dev": {
"psr-4": {
"Orchestra\\Testbench\\Tests\\": "tests/",
"Workbench\\App\\": "workbench/app/",
"Workbench\\Database\\Factories\\": "workbench/database/factories/",
"Workbench\\Database\\Seeders\\": "workbench/database/seeders/"
}
},
"bin": [
"testbench"
],
"require": {
"php": "^8.2",
"composer-runtime-api": "^2.2",
"symfony/polyfill-php83": "^1.31",
"symfony/polyfill-php84": "^1.31"
},
"require-dev": {
"fakerphp/faker": "^1.24",
"laravel/framework": "^11.33.2",
"laravel/pint": "^1.17",
"laravel/serializable-closure": "^1.3 || ^2.0",
"mockery/mockery": "^1.6.10",
"phpstan/phpstan": "^2.0",
"phpunit/phpunit": "^10.5.35 || ^11.3.6",
"symfony/process": "^7.0.3",
"symfony/yaml": "^7.0.3",
"vlucas/phpdotenv": "^5.6.1"
},
"conflict": {
"brianium/paratest": "<7.3.0 || >=8.0.0",
"laravel/framework": "<11.33.2 || >=12.0.0",
"laravel/serializable-closure": "<1.3.0 || >=3.0.0",
"nunomaduro/collision": "<8.0.0 || >=9.0.0",
"orchestra/testbench-dusk": "<9.10.0 || >=10.0.0",
"phpunit/phpunit": "<10.5.35 || >=11.0.0 <11.3.6 || >=11.5.0"
},
"suggest": {
"ext-pcntl": "Required to use all features of the console signal trapping.",
"brianium/paratest": "Allow using parallel testing (^7.3).",
"fakerphp/faker": "Allow using Faker for testing (^1.23).",
"laravel/framework": "Required for testing (^11.33.2).",
"mockery/mockery": "Allow using Mockery for testing (^1.6).",
"nunomaduro/collision": "Allow using Laravel style tests output and parallel testing (^8.0).",
"orchestra/testbench-dusk": "Allow using Laravel Dusk for testing (^9.0).",
"phpunit/phpunit": "Allow using PHPUnit for testing (^10.5 || ^11.0).",
"symfony/process": "Required to use Orchestra\\Testbench\\remote function (^7.0).",
"symfony/yaml": "Required for Testbench CLI (^7.0).",
"vlucas/phpdotenv": "Required for Testbench CLI (^5.4.1)."
},
"config": {
"preferred-install": {
"*": "auto"
},
"sort-packages": true
},
"scripts": {
"post-autoload-dump": [
"@clear",
"@prepare"
],
"clear": "@php testbench package:purge-skeleton --ansi",
"prepare": "@php testbench package:discover --ansi",
"serve": [
"Composer\\Config::disableProcessTimeout",
"@clear",
"@putenv PHP_CLI_SERVER_WORKERS=5",
"@php testbench serve --ansi"
],
"lint": [
"@php vendor/bin/pint --ansi",
"@php vendor/bin/phpstan analyse --verbose"
],
"test": [
"@php vendor/bin/phpunit --no-coverage --no-configuration --dont-report-useless-tests --bootstrap vendor/autoload.php --exclude-group phpunit-configuration --color tests"
],
"sync": [
"@clear",
"@php bin/sync",
"@lint"
],
"ci": [
"@composer audit",
"@post-autoload-dump",
"@lint",
"@test"
]
},
"prefer-stable": true,
"minimum-stability": "dev"
}