-
-
Notifications
You must be signed in to change notification settings - Fork 96
/
composer.json
106 lines (106 loc) · 3.04 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "fof/upload",
"description": "The file upload extension for the Flarum forum with insane intelligence.",
"keywords": [
"upload",
"uploader",
"flarum",
"file",
"image",
"video",
"document"
],
"type": "flarum-extension",
"license": "MIT",
"authors": [
{
"name": "Daniël Klabbers",
"email": "[email protected]",
"homepage": "https://luceos.com/"
}
],
"support": {
"issues": "https://github.com/FriendsOfFlarum/upload/issues",
"source": "https://github.com/FriendsOfFlarum/upload",
"forum": "https://discuss.flarum.org/d/4154"
},
"homepage": "https://friendsofflarum.org",
"funding": [
{
"type": "website",
"url": "https://opencollective.com/fof/donate"
}
],
"require": {
"php": "^8.0",
"ext-json": "*",
"enshrined/svg-sanitize": "^0.15.4",
"flarum/core": "^1.8.3",
"guzzlehttp/guzzle": "^6.0 || ^7.0",
"ramsey/uuid": "^3.5.2 || ^4",
"softcreatr/php-mime-detector": "^3.0"
},
"replace": {
"flagrow/upload": "*"
},
"suggest": {
"league/flysystem-aws-s3-v3": "Uploads to AWS S3 using API version 3.",
"overtrue/flysystem-qiniu": "Uploads to QiNiu using API."
},
"require-dev": {
"league/flysystem-aws-s3-v3": "^1.0",
"overtrue/flysystem-qiniu": "1.0.4",
"flarum/gdpr": "dev-main",
"flarum/phpstan": "*",
"flarum/testing": "^1.0.0"
},
"extra": {
"flarum-extension": {
"title": "FoF Upload",
"category": "feature",
"icon": {
"name": "fas fa-file-upload",
"backgroundColor": "#e74c3c",
"color": "#fff"
}
},
"flagrow": {
"discuss": "https://discuss.flarum.org/d/4154"
},
"flarum-cli": {
"modules": {
"githubActions": true,
"typescript": true,
"backendTesting": true
}
}
},
"autoload": {
"psr-4": {
"FoF\\Upload\\": "src/"
}
},
"scripts": {
"analyse:phpstan": "phpstan analyse",
"clear-cache:phpstan": "phpstan clear-result-cache",
"test": [
"@test:unit",
"@test:integration"
],
"test:unit": "phpunit -c tests/phpunit.unit.xml",
"test:integration": "phpunit -c tests/phpunit.integration.xml",
"test:setup": "@php tests/integration/setup.php"
},
"scripts-descriptions": {
"analyse:phpstan": "Run static analysis",
"test": "Runs all tests.",
"test:unit": "Runs all unit tests.",
"test:integration": "Runs all integration tests.",
"test:setup": "Sets up a database for use with integration tests. Execute this only once."
},
"autoload-dev": {
"psr-4": {
"FoF\\Upload\\Tests\\": "tests/"
}
}
}