forked from barracudanetworks/ArchiveStream-php
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcomposer.json
48 lines (48 loc) · 1.4 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
{
"name": "genkgo/archive-stream",
"type": "library",
"description": "Stream a ZIP file (memory efficient) as a PSR-7 message",
"keywords": ["zip", "archive", "stream", "php", "psr-7"],
"homepage": "https://github.com/genkgo/archive-stream",
"license": "MIT",
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
"psr/http-message": "~1.0 || ~2.0",
"ext-gmp": "*"
},
"suggest": {
"ext-zlib": "Creater gzipped tar files (tar.gz)"
},
"provide": {
"psr/http-message-implementation": "1.0.0"
},
"require-dev": {
"phpunit/phpunit" : "^9.3.8",
"phpstan/phpstan": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"friendsofphp/php-cs-fixer": "^3.0",
"ext-zip": "*",
"ext-zlib": "*"
},
"autoload": {
"psr-4": {
"Genkgo\\ArchiveStream\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Genkgo\\TestArchiveStream\\": "test/"
}
},
"scripts": {
"lint": [
"./vendor/bin/php-cs-fixer fix --verbose --config .php-cs-fixer.dist.php ./src ./test"
],
"test": [
"./vendor/bin/phpunit -c phpunit.xml",
"./vendor/bin/php-cs-fixer fix --verbose --dry-run --config .php-cs-fixer.dist.php ./src ./test",
"./vendor/bin/phpstan analyse -l max src",
"./vendor/bin/phpstan analyse -l 5 test"
]
}
}