Debian Codegraph @

vendor/zircote/swagger-php/composer.json

raw
1 {
2 "name": "zircote/swagger-php",
3 "type": "library",
4 "license": "Apache-2.0",
5 "bin": [
6 "bin/openapi"
7 ],
8 "description": "Generate interactive documentation for your RESTful API using PHP attributes (preferred) or PHPDoc annotations",
9 "keywords": [
10 "json",
11 "rest",
12 "api",
13 "service discovery"
14 ],
15 "homepage": "https://github.com/zircote/swagger-php",
16 "authors": [
17 {
18 "name": "Robert Allen",
19 "email": "[email protected]"
20 },
21 {
22 "name": "Bob Fanger",
23 "email": "[email protected]",
24 "homepage": "https://bfanger.nl"
25 },
26 {
27 "name": "Martin Rademacher",
28 "email": "[email protected]",
29 "homepage": "https://radebatz.net"
30 }
31 ],
32 "config": {
33 "bin-dir": "bin",
34 "optimize-autoloader": true,
35 "sort-packages": true,
36 "allow-plugins": {
37 "composer/package-versions-deprecated": true
38 }
39 },
40 "minimum-stability": "stable",
41 "extra": {
42 "branch-alias": {
43 "dev-master": "6.x-dev"
44 }
45 },
46 "require": {
47 "php": ">=8.2",
48 "nikic/php-parser": "^4.19 || ^5.0",
49 "phpstan/phpdoc-parser": "^2.0",
50 "psr/log": "^1.1 || ^2.0 || ^3.0",
51 "radebatz/type-info-extras": "^1.0.2",
52 "symfony/console": "^7.4 || ^8.0",
53 "symfony/deprecation-contracts": "^2 || ^3",
54 "symfony/finder": "^5.0 || ^6.0 || ^7.0 || ^8.0",
55 "symfony/yaml": "^5.4 || ^6.0 || ^7.0 || ^8.0"
56 },
57 "autoload": {
58 "psr-4": {
59 "OpenApi\\": "src"
60 }
61 },
62 "autoload-dev": {
63 "exclude-from-classmap": [
64 "/tests/Fixtures"
65 ],
66 "psr-4": {
67 "OpenApi\\Tools\\": "tools/src/",
68 "OpenApi\\Tests\\": "tests/",
69 "AnotherNamespace\\": "tests/Fixtures/AnotherNamespace"
70 }
71 },
72 "require-dev": {
73 "composer/package-versions-deprecated": "^1.11",
74 "doctrine/annotations": "^2.0",
75 "friendsofphp/php-cs-fixer": "^3.62.0",
76 "phpstan/phpstan": "^2.0",
77 "phpunit/phpunit": "^11.5 || >=12.5.22",
78 "rector/rector": "^2.3.1"
79 },
80 "conflict": {
81 "symfony/process": ">=6, <6.4.14"
82 },
83 "scripts-descriptions": {
84 "cs": "Fix all codestyle issues",
85 "rector": "Automatic refactoring",
86 "lint": "Test codestyle",
87 "test": "Run all PHP, codestyle and rector tests",
88 "performance": "Run performance regression tests",
89 "analyse": "Run static analysis (phpstan)",
90 "spectral-examples": "Run spectral lint over all .yaml files in the docs/examples folder",
91 "spectral-scratch": "Run spectral lint over all .yaml files in the tests/Fixtures/Scratch folder",
92 "spectral": "Run all spectral tests",
93 "redocly-examples": "Run redocly lint over all .yaml files in the docs/examples folder",
94 "redocly-scratch": "Run redocly lint over all .yaml files in the tests/Fixtures/Scratch folder",
95 "redocly": "Run all redocly tests",
96 "docs:gen": "Rebuild reference documentation",
97 "docs:dev": "Run dev server for local development of gh-pages",
98 "docs:build": "Re-build static gh-pages"
99 },
100 "scripts": {
101 "cs": "export XDEBUG_MODE=off && php-cs-fixer fix --allow-risky=yes",
102 "rector": "rector process src tests docs/examples",
103 "lint": [
104 "@cs --dry-run",
105 "@rector --dry-run"
106 ],
107 "test": [
108 "export XDEBUG_MODE=off && phpunit --display-all-issues",
109 "@lint"
110 ],
111 "performance": "export XDEBUG_MODE=off && phpunit --group performance",
112 "analyse": [
113 "export XDEBUG_MODE=off && phpstan analyse --memory-limit=3G"
114 ],
115 "spectral-examples": "for ff in `find docs/examples -name '*.yaml'`; do npm run spectral lint $ff; done",
116 "spectral-scratch": "for ff in `find tests/Fixtures/Scratch -name '*.yaml'`; do npm run spectral lint $ff; done",
117 "spectral": [
118 "@spectral-examples",
119 "@spectral-scratch"
120 ],
121 "redocly-examples": "for ff in `find docs/examples -name '*.yaml'`; do npm run redocly lint $ff; done",
122 "redocly-scratch": "for ff in `find tests/Fixtures/Scratch -name '*.yaml'`; do npm run redocly lint $ff; done",
123 "redocly": [
124 "@redocly-examples",
125 "@redocly-scratch"
126 ],
127 "docs:gen": [
128 "@php tools/refgen.php",
129 "@php tools/procgen.php",
130 "@php tools/examplegen.php"
131 ],
132 "docs:dev": "cd docs && npm run dev",
133 "docs:build": [
134 "@docs:gen",
135 "cd docs && npm run build"
136 ]
137 }
138 }