-
-
Notifications
You must be signed in to change notification settings - Fork 173
Expand file tree
/
Copy pathcomposer.json
More file actions
121 lines (121 loc) · 3.83 KB
/
Copy pathcomposer.json
File metadata and controls
121 lines (121 loc) · 3.83 KB
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"$schema": "https://getcomposer.org/schema.json",
"name": "shish/shimmie2",
"description": "A tag-based image gallery",
"type": "project",
"license": "GPL-2.0-or-later",
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"platform": {
"php": "8.4.0"
}
},
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
},
{
"type": "package",
"package": {
"name": "ifixit/php-akismet",
"version": "1.1",
"source": {
"url": "https://github.com/iFixit/php-akismet.git",
"type": "git",
"reference": "fd4ff50eb577457c1b7b887401663e91e77625ae"
}
}
}
],
"require": {
"php": "^8.4",
"ext-pdo": "*",
"ext-json": "*",
"ext-fileinfo": "*",
"ifixit/php-akismet": "^1.0",
"google/recaptcha": "^1.1",
"shish/ffsphp": "^1.6",
"shish/microbundler": "^1.1.0",
"shish/microcrud": "^2.5",
"shish/microhtml": "^2.8",
"shish/microotlp": "^1.0",
"shish/gqla": "^1.2",
"thecodingmachine/safe": "^3.4",
"enshrined/svg-sanitize": "^0.22",
"bower-asset/js-cookie": "^2.1",
"psr/simple-cache": "^1.0.1",
"sabre/cache": "^2.0.1",
"naroga/redis-cache": "^1.2",
"symfony/console": "^8.0",
"symfony/yaml": "^8.0",
"jfcherng/php-diff": "^7.0"
},
"require-dev": {
"phpunit/phpunit": "^12.5",
"friendsofphp/php-cs-fixer": "^3.89",
"phpstan/phpstan": "^2.1",
"thecodingmachine/phpstan-safe-rule": "^1.4",
"phpstan/phpstan-strict-rules": "^2.0",
"shish/phpstan-matchy-string": "^0.0.0"
},
"suggest": {
"ext-pdo_sqlite": "database - sqlite",
"ext-pdo_mysql": "database - mysql",
"ext-pdo_pgsql": "database - postgres",
"ext-memcached": "cache - memcache",
"ext-apcu": "cache - apc",
"ext-redis": "cache - redis",
"ext-curl": "some extensions",
"ext-json": "some extensions",
"ext-zip": "self-updater extension, bulk import/export",
"ext-zlib": "anti-spam",
"ext-xml": "some extensions",
"ext-gd": "GD-based thumbnailing"
},
"autoload": {
"files": [
"core/Util/microhtml.php",
"core/Util/polyfills.php",
"core/Util/util.php"
],
"psr-4": {
"Shimmie2\\": [
"core/",
"core/Cache/",
"core/Config/",
"core/Crud/",
"core/Database/",
"core/Events/",
"core/Exceptions/",
"core/Extension/",
"core/ImageBoard/",
"core/Media/",
"core/Network/",
"core/Page/",
"core/Search/",
"core/Testing/",
"core/User/",
"core/Util/"
]
}
},
"scripts": {
"check": [
"@format",
"@analyse",
"@test"
],
"stan": [
"@analyse"
],
"xstan": "rm -rf /tmp/phpstan/ && php -d xdebug.mode=coverage vendor/bin/phpstan --xdebug analyse --memory-limit 1G --error-format=raw | sed 's/:/ /g; s/ /:/'",
"format": "php-cs-fixer fix",
"format-ci": "php-cs-fixer check --format=@auto",
"analyse-ci": "phpstan analyse --memory-limit 1G --error-format=github",
"analyse": "phpstan analyse --memory-limit 1G --error-format=raw | sed -E 's/:([0-9]+):/:\\1 /'",
"test": "php -d xdebug.mode=coverage vendor/bin/phpunit",
"docker-run": "./.docker/run.php"
}
}