forked from glpi-project/glpi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
171 lines (171 loc) · 7.49 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
{
"name": "glpi/glpi",
"description": "GLPI dependencies",
"license": "GPL-3.0-or-later",
"type": "project",
"homepage": "https://www.glpi-project.org/",
"support": {
"forum": "https://forum.glpi-project.org/",
"issues": "https://github.com/glpi-project/glpi/issues",
"docs": "https://github.com/glpi-project/doc"
},
"require": {
"php": ">=7.4",
"ext-ctype": "*",
"ext-curl": "*",
"ext-dom": "*",
"ext-fileinfo": "*",
"ext-filter": "*",
"ext-gd": "*",
"ext-iconv": "*",
"ext-intl": "*",
"ext-json": "*",
"ext-libxml": "*",
"ext-mbstring": "*",
"ext-mysqli": "*",
"ext-session": "*",
"ext-simplexml": "*",
"ext-zlib": "*",
"donatj/phpuseragentparser": "^1.7",
"elvanto/litemoji": "^4.1",
"glpi-project/inventory_format": "^1.1",
"guzzlehttp/guzzle": "^7.5",
"guzzlehttp/psr7": "^2.4",
"html2text/html2text": "^4.3",
"htmlawed/htmlawed": "^1.2",
"iamcal/lib_autolink": "^1.7",
"laminas/laminas-i18n": "^2.12",
"laminas/laminas-mail": "^2.15",
"laminas/laminas-mime": "^2.9",
"laminas/laminas-servicemanager": "~3.10.0",
"league/csv": "^9.7",
"league/oauth2-client": "^2.6",
"league/oauth2-google": "^4.0",
"mexitek/phpcolors": "^1.0",
"michelf/php-markdown": "^1.9",
"monolog/monolog": "^2.8",
"paragonie/sodium_compat": "^1.17",
"phpmailer/phpmailer": "^6.8",
"psr/cache": "^1.0",
"psr/log": "^1.1",
"psr/simple-cache": "^1.0",
"ramsey/uuid": "^4.2",
"rlanvin/php-rrule": "^2.3",
"sabre/dav": "^4.4",
"sabre/http": "^5.1",
"sabre/uri": "^2.2",
"sabre/vobject": "^4.5",
"scssphp/scssphp": "^1.10",
"sebastian/diff": "^4.0",
"simplepie/simplepie": "^1.5",
"symfony/cache": "^5.4",
"symfony/console": "^5.4",
"symfony/css-selector": "^5.4",
"symfony/dom-crawler": "^5.4",
"symfony/polyfill-ctype": "^1.26",
"symfony/polyfill-iconv": "^1.26",
"symfony/polyfill-mbstring": "^1.26",
"symfony/polyfill-php80": "^1.26",
"symfony/polyfill-php81": "^1.26",
"symfony/polyfill-php82": "^1.26",
"tecnickcom/tcpdf": "^6.6",
"thenetworg/oauth2-azure": "^2.1",
"true/punycode": "^2.1",
"twig/string-extra": "^3.3",
"twig/twig": "^3.3",
"wapmorgan/unified-archive": "^1.1"
},
"require-dev": {
"ext-xml": "*",
"atoum/atoum": "^4.1",
"atoum/stubs": "^2.6",
"friendsoftwig/twigcs": "^6.1",
"glpi-project/tools": "^0.7",
"maglnet/composer-require-checker": "^3.5",
"mikey179/vfsstream": "^1.6",
"php-parallel-lint/php-parallel-lint": "^1.4",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^1.12",
"phpstan/phpstan-deprecation-rules": "^1.2",
"phpunit/phpunit": "^9.6",
"squizlabs/php_codesniffer": "^3.10",
"symfony/browser-kit": "^5.4",
"symfony/http-client": "^5.4",
"symfony/mime": "^5.4"
},
"replace": {
"paragonie/random_compat": "*",
"symfony/polyfill-intl-grapheme": "*",
"symfony/polyfill-intl-idn": "*",
"symfony/polyfill-intl-normalizer": "*",
"symfony/polyfill-php72": "*",
"symfony/polyfill-php73": "*",
"symfony/polyfill-php74": "*"
},
"suggest": {
"ext-ldap": "Used to provide LDAP authentication and synchronization",
"ext-sodium": "Used to provide strong encryption for sensitive data in database"
},
"config": {
"optimize-autoloader": true,
"platform": {
"php": "7.4.0"
},
"sort-packages": true,
"allow-plugins": {
"phpstan/extension-installer": true
},
"audit": {
"abandoned": "report"
}
},
"autoload": {
"psr-4": {
"Glpi\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Glpi\\Tools\\": "tools/src/",
"Glpi\\Tests\\": "tests/src/"
},
"files": ["tests/src/autoload/functions.php"]
},
"scripts": {
"testdb": "atoum -p 'php -d memory_limit=512M' --debug --force-terminal --use-dot-report --bootstrap-file tests/bootstrap.php --no-code-coverage --max-children-number 1 -d tests/database",
"testfunc": "atoum -p 'php -d memory_limit=512M' --debug --force-terminal --use-dot-report --bootstrap-file tests/bootstrap.php --no-code-coverage --max-children-number 1 -d tests/functional/",
"testweb": "atoum -p 'php -d memory_limit=512M' --debug --force-terminal --use-dot-report --bootstrap-file tests/bootstrap.php --no-code-coverage --max-children-number 1 -d tests/web",
"testldap": "atoum -p 'php -d memory_limit=512M' --debug --force-terminal --use-dot-report --bootstrap-file tests/bootstrap.php --no-code-coverage --max-children-number 1 -d tests/LDAP",
"testimap": "atoum -p 'php -d memory_limit=512M' --debug --force-terminal --use-dot-report --bootstrap-file tests/bootstrap.php --no-code-coverage --max-children-number 1 -d tests/imap",
"csp": "phpcs --parallel=500 --cache -p --extensions=php --ignore=\"/.git/,^$(pwd)/(config|files|lib|marketplace|node_modules|plugins|tests/config|vendor)/\" ./",
"cs": "phpcs -d memory_limit=512M --cache -p --extensions=php --ignore=\"/.git/,^$(pwd)/(config|files|lib|marketplace|node_modules|plugins|tests/config|vendor)/\" ./",
"lint": "parallel-lint --exclude files --exclude marketplace --exclude plugins --exclude vendor --exclude tools/vendor .",
"post-install-cmd": [
"@php -r \"file_put_contents('.composer.hash', sha1_file('composer.lock'));\"",
"@php -f vendor/bin/build_hw_jsons",
"patch -f -p1 -d vendor/laminas/laminas-mail/ < tools/patches/laminas-mail-invalid-header-ignore.patch || true",
"patch -f -p1 -d vendor/laminas/laminas-mail/ < tools/patches/laminas-mail-address-no-length-check.patch || true",
"patch -f -p1 -d vendor/atoum/atoum/ < tools/patches/atoum-4.1.0...4.2.0.patch || true",
"patch -f -p1 -d vendor/michelf/php-markdown/ < tools/patches/php-markdown-php8-compat.patch || true",
"patch -f -p1 -d vendor/guzzlehttp/guzzle/ < tools/patches/guzzle-http-client-restrict-http-methods.patch || true"
],
"post-update-cmd": [
"@php -r \"file_put_contents('.composer.hash', sha1_file('composer.lock'));\"",
"@php -f vendor/bin/build_hw_jsons",
"patch -f -p1 -d vendor/laminas/laminas-mail/ < tools/patches/laminas-mail-invalid-header-ignore.patch || true",
"patch -f -p1 -d vendor/laminas/laminas-mail/ < tools/patches/laminas-mail-address-no-length-check.patch || true",
"patch -f -p1 -d vendor/atoum/atoum/ < tools/patches/atoum-4.1.0...4.2.0.patch || true",
"patch -f -p1 -d vendor/michelf/php-markdown/ < tools/patches/php-markdown-php8-compat.patch || true",
"patch -f -p1 -d vendor/guzzlehttp/guzzle/ < tools/patches/guzzle-http-client-restrict-http-methods.patch || true"
],
"build": [
"bin/console dependencies install"
]
},
"repositories": {
"htmlawed": {
"type": "composer",
"url": "https://www.bioinformatics.org/phplabware/downloads/"
}
}
}