forked from siriusphp/upload
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
executable file
·62 lines (62 loc) · 1.54 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
{
"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": ">=7.1",
"siriusphp/validation": "~3.0"
},
"require-dev": {
"phpunit/phpunit": "~8.5",
"laminas/laminas-diactoros": "^2.2",
"symfony/http-foundation": "^4.4"
},
"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": {
"cs": [
"php phpcs.phar --standard=PSR2 ./src"
],
"md": [
"php phpmd.phar ./src xml phpmd.xml"
],
"cbf": [
"php phpcbf.phar ./src --standard=PSR2 -w"
],
"csfix": [
"php php-cs-fixer.phar fix ./src --rules=@PSR2"
],
"build-docs": [
"php couscous.phar generate --target=build/docs/ ./docs"
],
"docs": [
"cd docs && php ../couscous.phar preview"
],
"test": [
"vendor/bin/phpunit -c phpunit.xml"
]
}
}