-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
54 lines (54 loc) · 1.65 KB
/
Copy pathcomposer.json
File metadata and controls
54 lines (54 loc) · 1.65 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
{
"name": "phpswag/phpswag",
"description": "A framework-agnostic PHP Swagger/OpenAPI generator",
"type": "library",
"license": "MIT",
"autoload": {
"psr-4": {
"PhpSwag\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"PhpSwag\\Tests\\": "tests/"
}
},
"require": {
"php": ">=8.1",
"nikic/php-parser": "^4.15 || ^5.0",
"phpstan/phpdoc-parser": "^1.24 || ^2.0",
"symfony/console": "^5.4 || ^6.0 || ^7.0 || ^8.0",
"symfony/finder": "^5.4 || ^6.0 || ^7.0 || ^8.0",
"symfony/yaml": "^5.4 || ^6.0 || ^7.0 || ^8.0"
},
"require-dev": {
"illuminate/console": "^9.0 || ^10.0",
"illuminate/routing": "^9.0 || ^10.0",
"illuminate/support": "^9.0 || ^10.0",
"phpstan/phpstan": "^2.2",
"phpunit/phpunit": "^9.5 || ^10.0",
"squizlabs/php_codesniffer": "^4.0",
"symfony/config": "^5.4 || ^6.0",
"symfony/dependency-injection": "^5.4 || ^6.0",
"symfony/http-kernel": "^5.4 || ^6.0"
},
"config": {
"sort-packages": true
},
"extra": {
"laravel": {
"providers": [
"PhpSwag\\Bridges\\Laravel\\PhpSwagServiceProvider"
]
}
},
"bin": ["bin/phpswag"],
"scripts": {
"lint": [
"phpcs",
"phpstan analyse --memory-limit=512M"
],
"format": "phpcbf",
"test": "php -r \"require 'vendor/autoload.php'; passthru(str_starts_with(PHPUnit\\Runner\\Version::id(), '9.') ? 'vendor/bin/phpunit -c phpunit9.xml' : 'vendor/bin/phpunit', $err); exit($err);\""
}
}