forked from llaville/php-compatinfo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
95 lines (95 loc) · 2.87 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
{
"name": "bartlett/php-compatinfo",
"description": "Find out the minimum version and the extensions required for a piece of code to run",
"keywords": ["compatibility", "version"],
"type": "library",
"license": "BSD-3-Clause",
"homepage": "https://github.com/llaville/php-compatinfo",
"support": {
"source": "https://github.com/llaville/php-compatinfo",
"issues": "https://github.com/llaville/php-compatinfo/issues"
},
"require": {
"php": "^7.4|^8.0",
"ext-json": "*",
"ext-libxml": "*",
"ext-pcre": "*",
"ext-spl": "*",
"bartlett/php-compatinfo-db": "^3.17",
"bartlett/sarif-php-sdk": "^1.0",
"composer-runtime-api": "^2.0",
"doctrine/collections": "^1.4",
"nikic/php-parser": "^4.10",
"psr/log": "^1.0",
"ramsey/uuid": "^3.9|^4.0",
"symfony/config": "^4.4|^5.0",
"symfony/console": "^4.4|^5.0",
"symfony/event-dispatcher": "^4.4|^5.0",
"symfony/finder": "^4.4|^5.0",
"symfony/dependency-injection": "^4.4|^5.0",
"symfony/serializer": "^4.4|^5.0",
"symfony/stopwatch": "^4.4|^5.0"
},
"require-dev": {
"bartlett/graph-uml": "^1.2",
"composer/composer": "^2.0"
},
"authors": [
{
"name": "Laurent Laville",
"homepage": "https://github.com/llaville",
"role": "Lead"
},
{
"name": "Remi Collet",
"homepage": "https://github.com/remicollet",
"role": "Contributor"
}
],
"bin": [
"bin/phpcompatinfo"
],
"autoload": {
"psr-4": {
"Bartlett\\CompatInfo\\": "src/"
},
"files": ["src/Infrastructure/Framework/Symfony/Polyfill.php"]
},
"autoload-dev": {
"psr-4": {
"Bartlett\\CompatInfo\\Tests\\": "tests/"
}
},
"scripts": {
"setup-database": [
"mkdir -p ${HOME}/.cache/bartlett/ && touch ${HOME}/.cache/bartlett/compatinfo-db.sqlite",
"export DATABASE_URL=sqlite:///${HOME}/.cache/bartlett/compatinfo-db.sqlite"
],
"post-install-cmd": [
"@setup-database",
"vendor/bin/doctrine orm:schema-tool:create",
"vendor/bartlett/php-compatinfo-db/bin/compatinfo-db db:init"
],
"post-update-cmd": [
"@setup-database"
]
},
"scripts-descriptions": {
"setup-database": "Initializes SQLite database from JSON files in data directory."
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"platform": {
"php": "7.4.0"
},
"sort-packages": true,
"optimize-autoloader": true,
"allow-plugins": {
"cweagans/composer-patches": true
}
},
"extra": {
"enable-patching": true
}
}