forked from ampache/ampache
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
177 lines (177 loc) · 7.06 KB
/
Copy pathcomposer.json
File metadata and controls
177 lines (177 loc) · 7.06 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
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
{
"name": "ampache/ampache",
"description": "A web based audio/video streaming application and file manager allowing you to access your music & videos from anywhere, using almost any internet enabled device.",
"homepage": "https://ampache.org",
"keywords": ["php", "music", "video", "player", "stream"],
"type": "project",
"license": "AGPL-3.0",
"config":
{
"platform": {
"ext-ctype": "1.0",
"ext-curl": "1.0",
"ext-date": "1.0",
"ext-dom": "1.0",
"ext-fileinfo": "1.0",
"ext-gd": "1.0",
"ext-gmp": "1.0",
"ext-http": "1.0",
"ext-iconv": "1.0",
"ext-libxml": "1.0",
"ext-mbstring": "1.0",
"ext-openssl": "1.0",
"ext-pcre": "1.0",
"ext-simplexml": "1.0",
"ext-spl": "1.0",
"ext-xml": "1.0",
"ext-xmlreader": "1.0",
"ext-xmlwriter": "1.0",
"lib-libxml": "2.7.0"
},
"sort-packages": true,
"allow-plugins": {
"composer/installers": true,
"php-http/discovery": true,
"phpstan/extension-installer": true,
"oomphinc/composer-installers-extender": false,
"robloach/component-installer": false
}
},
"require": {
"php": ">=8.5",
"ext-curl": "*",
"ext-dom": "*",
"ext-fileinfo": "*",
"ext-gd": "*",
"ext-iconv": "*",
"ext-intl": "*",
"ext-json": "*",
"ext-libxml": "*",
"ext-mbstring": "*",
"ext-openssl": "*",
"ext-pdo": "*",
"ext-simplexml": "*",
"ext-xml": "*",
"ext-zip": "*",
"adhocore/cli": "^1.6",
"ampache/ampacheapi-php": "^2",
"ampache/php-discogs-api": "^0.3.0",
"cboden/ratchet": "0.4.*@dev",
"clue/multicast-react": "^1.1.0",
"gettext/gettext": "^5",
"gettext/translator": "^1.2",
"goat1000/svggraph": "^3.20",
"gregwar/captcha": "^2.0",
"idleberg/vite-manifest": "^1.0",
"james-heinrich/getid3": "dev-master",
"jumbojett/openid-connect-php": "^1.0",
"jwilsson/spotify-web-api-php": "^6",
"krixon/xbmc-php-rpc": "dev-master",
"kunalvarma05/dropbox-php-sdk": "^0.4",
"lachlan-00/musicbrainz": "^0.6",
"nyholm/psr7": "^1.3",
"nyholm/psr7-server": "^1.0",
"php-curl-class/php-curl-class": "^13.0",
"php-di/php-di": "^7.0",
"phpmailer/phpmailer": "^6",
"psr/log": "^3",
"psr/simple-cache": "^3",
"rmccue/requests": "^2.0",
"rsd/seafile-php-sdk": "^2",
"sabre/dav": "^4",
"shrikeh/teapot": "^2.3",
"slim/slim": "^4.12"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.49",
"justinrainbow/json-schema": "^6",
"mikey179/vfsstream": "^1.6",
"mockery/mockery": "^1.3",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "^2",
"phpstan/phpstan-mockery": "^2",
"phpunit/phpunit": "^11",
"rector/rector": "^2",
"seec/phpunit-consecutive-params": "^1.1"
},
"repositories":
[
{
"type": "package",
"package": {
"name": "krixon/xbmc-php-rpc",
"version": "dev-master",
"source": {
"url": "https://github.com/krixon/xbmc-php-rpc.git",
"type": "git",
"reference": "master"
},
"autoload": {
"classmap": ["."]
}
}
}
],
"autoload": {
"psr-4": {
"Ampache\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Ampache\\": "tests/"
}
},
"scripts": {
"coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-html build/coverage tests",
"qa": "composer run-script syntax && composer run-script cs:check && composer run-script tests",
"stan": "vendor/bin/phpstan analyse",
"stan-baseline": "vendor/bin/phpstan --generate-baseline",
"tests": "vendor/bin/phpunit -c phpunit.xml",
"spec": "vendor/bin/phpunit --filter SpecConformanceTest",
"spec:refresh": "@php resources/scripts/tests/spec_refresh.php",
"syntax": "@php resources/scripts/tests/syntax.php",
"cs:fix": "vendor/bin/php-cs-fixer fix",
"cs:check": "vendor/bin/php-cs-fixer fix --dry-run -vv",
"api:docs": [
"@php resources/scripts/composer/python.php resources/scripts/api-docs/generate_openapi_schemas.py",
"@php resources/scripts/composer/python.php resources/scripts/api-docs/generate_api_methods_md.py",
"@php resources/scripts/composer/python.php resources/scripts/api-docs/generate_browse_docs.py"
],
"api:docs:check": [
"@php resources/scripts/composer/python.php resources/scripts/api-docs/generate_openapi_schemas.py --check",
"@php resources/scripts/composer/python.php resources/scripts/api-docs/generate_api_methods_md.py --check",
"@php resources/scripts/composer/python.php resources/scripts/api-docs/generate_browse_docs.py --check",
"@php resources/scripts/composer/python.php resources/scripts/api-docs/check_openapi_examples.py --strict",
"@php resources/scripts/composer/python.php resources/scripts/api-docs/lint_openapi.py"
],
"post-autoload-dump": [
"@php resources/scripts/composer/check_tag_tools.php"
],
"rector:dry": "rector process -n",
"rector:fix": "rector process"
},
"scripts-descriptions": {
"coverage": "Generates the code-coverage report into the build/coverage directory",
"qa": "Runs several qa-related tests",
"stan": "Performs static analysis",
"stan-baseline": "Regenerate phpstan baseline",
"tests": "Executes the unit tests",
"spec": "Validates the captured Ampache REST, Subsonic and OpenSubsonic responses against the published specifications",
"spec:refresh": "Re-pins the audited OpenSubsonic spec hash and stamps the compliance date, after a re-audit",
"syntax": "Performs php syntax checks",
"cs:fix": "Performs code-style corrections on the whole codebase",
"cs:check": "Performs a code-style dry-run on the whole codebase",
"api:docs": "Regenerates docs/openapi.json and the API method reference documents (needs Python 3)",
"api:docs:check": "Fails if the generated API documents are out of date with the code (needs Python 3)",
"rector:dry": "Performs rector code-migrations dry-run",
"rector:fix": "Applies pending rector code-migrations"
},
"suggest": {
"ext-gd": "Needed for image resizing and waveforms",
"ext-http": "Yourls plugin",
"ext-ldap": "Needed to support ldap authentication",
"ext-sockets": "Needed for upnp functions",
"ext-xmlreader": "Needed for upnp functions"
}
}