-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
88 lines (88 loc) · 2.71 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
{
"name": "stadly/file-waiter",
"type": "library",
"description": "File serving made easy. A PHP library for serving files from any file system over HTTP, with support for conditional and ranged requests.",
"keywords": [
"conditional request",
"file server",
"file serving",
"http",
"PHP",
"ranged request",
"Stadly"
],
"homepage": "https://github.com/Stadly/FileWaiter",
"license": "MIT",
"authors": [
{
"name": "Magnar Ovedal Myrtveit",
"email": "[email protected]",
"homepage": "https://github.com/Stadly",
"role": "Developer"
}
],
"require": {
"guzzlehttp/psr7": "^1.7 || ^2.0",
"php": ">=8.0",
"psr/http-factory": "^1.0.1",
"psr/http-message": "^1.0.1",
"psr/http-server-handler": "^1.0",
"stadly/http": "^1.2"
},
"provide": {
"psr/http-server-handler-implementation": "1.0"
},
"require-dev": {
"guzzlehttp/psr7": "^2.4",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpstan/phpstan": "^1.0.0",
"phpstan/phpstan-deprecation-rules": "^1.0.0",
"phpstan/phpstan-phpunit": "^1.0.0",
"phpstan/phpstan-strict-rules": "^1.0.0",
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3.5",
"stadly/file-waiter-bytestring": "^1.0.1",
"stadly/php-style": "^1.1.1"
},
"suggest": {
"stadly/file-waiter-bytestring": "To serve files from byte strings.",
"stadly/file-waiter-flysystem": "To serve files from the abstract filesystem Flysystem."
},
"autoload": {
"psr-4": {
"Stadly\\FileWaiter\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Stadly\\FileWaiter\\": "tests"
}
},
"scripts": {
"test": [
"composer lint",
"composer check-style",
"composer phpstan",
"composer phpunit"
],
"lint": "parallel-lint . --exclude vendor --exclude .vscode",
"phpstan": [
"phpstan analyse",
"phpstan analyse -c phpstan.tests.neon.dist --memory-limit 256M"
],
"phpunit": "XDEBUG_MODE=coverage phpunit",
"check-style": "phpcs src tests --standard=vendor/stadly/php-style/StadlyCodingStandard -p",
"fix-style": "phpcbf src tests --standard=vendor/stadly/php-style/StadlyCodingStandard -p"
},
"extra": {
"branch-alias": {
"dev-main": "1.0.x-dev"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"sort-packages": true
}
}