-
Notifications
You must be signed in to change notification settings - Fork 25
/
composer.json
executable file
·64 lines (64 loc) · 1.59 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
{
"name": "siriusphp/upload",
"description": "Framework agnostic upload library",
"type": "library",
"license": "MIT",
"keywords": [
"form",
"upload",
"validation",
"file",
"file upload",
"security",
"psr-7"
],
"authors": [
{
"name": "Adrian Miu",
"email": "[email protected]"
}
],
"require": {
"php": ">=8.1",
"siriusphp/validation": "^4.0"
},
"require-dev": {
"laminas/laminas-diactoros": "^3.3",
"symfony/http-foundation": "^6.3",
"pestphp/pest": "^2.24",
"pestphp/pest-plugin-drift": "^2.5",
"symfony/mime": "^6.3",
"phpstan/phpstan": "^1.10"
},
"suggest": {
"league/flysystem": "To upload to different destinations, not just to the local file system",
"knplabs/gaufrette": "Alternative filesystem abstraction library for upload destinations"
},
"autoload": {
"psr-4": {
"Sirius\\Upload\\": "src/"
}
},
"scripts": {
"stan": [
"php vendor/bin/phpstan analyse"
],
"csfix": [
"tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --standard=PSR-2 src"
],
"test": [
"php vendor/bin/pest"
],
"build-docs": [
"php couscous.phar generate --target=build/docs/ ./docs"
],
"docs": [
"cd docs && php ../couscous.phar preview"
]
},
"config": {
"allow-plugins": {
"pestphp/pest-plugin": true
}
}
}