summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: 4726ad098ceefdda23000197e9a080398a42e8fa (plain)
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
{
    "name": "phpmyadmin/phpmyadmin",
    "type": "project",
    "description": "A web interface for MySQL and MariaDB",
    "keywords": ["phpmyadmin","mysql","web"],
    "homepage": "https://www.phpmyadmin.net/",
    "support": {
        "forum": "https://www.phpmyadmin.net/support/",
        "issues": "https://github.com/phpmyadmin/phpmyadmin/issues",
        "wiki": "https://wiki.phpmyadmin.net/",
        "docs": "https://docs.phpmyadmin.net/",
        "source": "https://github.com/phpmyadmin/phpmyadmin"
    },
    "license": "GPL-2.0-only",
    "authors": [
        {
            "name": "The phpMyAdmin Team",
            "email": "developers@phpmyadmin.net",
            "homepage": "https://www.phpmyadmin.net/team/"
        }
    ],
    "non-feature-branches": ["RELEASE_.*"],
    "autoload": {
        "psr-4": {
            "PhpMyAdmin\\": "libraries/classes"
        },
        "files": ["vendor/phpmyadmin/motranslator/src/functions.php"]
    },
    "autoload-dev": {
        "psr-4": {
            "PhpMyAdmin\\Tests\\": "test/classes",
            "PhpMyAdmin\\Tests\\Selenium\\": "test/selenium/"
        }
    },
    "repositories": [
        {
            "type": "composer",
            "url": "https://www.phpmyadmin.net"
        }
    ],
    "require": {
        "php": "^7.2.5 || ^8.0",
        "ext-hash": "*",
        "ext-iconv": "*",
        "ext-json": "*",
        "ext-mysqli": "*",
        "ext-openssl": "*",
        "ext-pcre": "*",
        "ext-xml": "*",
        "composer/ca-bundle": "^1.2",
        "google/recaptcha": "^1.1",
        "nikic/fast-route": "^1.3",
        "paragonie/sodium_compat": "^1.17",
        "phpmyadmin/motranslator": "^5.0",
        "phpmyadmin/shapefile": "^3.0.1",
        "phpmyadmin/sql-parser": "^5.5",
        "phpmyadmin/twig-i18n-extension": "^4.0",
        "psr/http-factory": "^1.0",
        "psr/http-message": "^1.0",
        "slim/psr7": "^1.4",
        "symfony/config": "^5.2.3",
        "symfony/dependency-injection": "^5.2.3",
        "symfony/expression-language": "^5.2.3",
        "symfony/polyfill-ctype": "^1.17.0",
        "symfony/polyfill-mbstring": "^1.17.0",
        "symfony/polyfill-php80": "^1.16",
        "twig/twig": "^3.3.5",
        "webmozart/assert": "^1.10",
        "williamdes/mariadb-mysql-kbs": "^1.2"
    },
    "conflict": {
        "bacon/bacon-qr-code": "<2.0",
        "pragmarx/google2fa-qrcode": "<2.1",
        "tecnickcom/tcpdf": "<6.4.4"
    },
    "suggest": {
        "ext-curl": "Updates checking",
        "ext-opcache": "Better performance",
        "ext-zlib": "For gz import and export",
        "ext-bz2": "For bzip2 import and export",
        "ext-zip": "For zip import and export",
        "ext-gd2": "For image transformations",
        "ext-mbstring": "For best performance",
        "ext-sodium": "Better encryption performance",
        "tecnickcom/tcpdf": "For PDF support",
        "pragmarx/google2fa-qrcode": "^2.1 - For 2FA authentication",
        "bacon/bacon-qr-code": "^2.0 - For 2FA authentication",
        "code-lts/u2f-php-server": "For FIDO U2F authentication"
    },
    "require-dev": {
        "bacon/bacon-qr-code": "^2.0",
        "code-lts/u2f-php-server": "^1.2",
        "php-webdriver/webdriver": "^1.11",
        "phpmyadmin/coding-standard": "^3.0.0",
        "phpstan/extension-installer": "^1.1",
        "phpstan/phpstan": "^1.4.8",
        "phpstan/phpstan-phpunit": "^1.0",
        "phpstan/phpstan-webmozart-assert": "^1.0",
        "phpunit/phpunit": "^8.5 || ^9.5",
        "pragmarx/google2fa-qrcode": "^2.1",
        "psalm/plugin-phpunit": "^0.16.1",
        "roave/security-advisories": "dev-latest",
        "symfony/console": "^5.2.3",
        "tecnickcom/tcpdf": "^6.4.4",
        "vimeo/psalm": "^4.22"
    },
    "extra": {
        "branch-alias": {
            "dev-master": "5.2.x-dev"
        }
    },
    "scripts": {
        "phpcbf": "@php phpcbf",
        "phpcs": "@php phpcs",
        "phpstan": "@php phpstan analyse",
        "psalm": "@php psalm --no-diff",
        "phpunit": "@php phpunit --color=always",
        "test": [
            "@phpcs",
            "@phpstan",
            "@psalm",
            "@phpunit"
        ],
        "update:baselines": [
            "@php phpstan analyse --generate-baseline",
            "@php psalm --set-baseline=psalm-baseline.xml"
        ],
        "twig-lint": "@php scripts/console lint:twig --ansi --show-deprecations"
    },
    "config":{
        "sort-packages": true,
        "discard-changes": true,
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true,
            "phpstan/extension-installer": true,
            "composer/package-versions-deprecated": true
        }
    }
}