Prepare for version 5.1.3
[phpmyadmin.git] / composer.json
blob235c30b720c16122072c8dbbe18b05605b648e80
2     "name": "phpmyadmin/phpmyadmin",
3     "type": "project",
4     "description": "A web interface for MySQL and MariaDB",
5     "keywords": ["phpmyadmin","mysql","web"],
6     "homepage": "https://www.phpmyadmin.net/",
7     "support": {
8         "forum": "https://www.phpmyadmin.net/support/",
9         "issues": "https://github.com/phpmyadmin/phpmyadmin/issues",
10         "wiki": "https://wiki.phpmyadmin.net/",
11         "docs": "https://docs.phpmyadmin.net/",
12         "source": "https://github.com/phpmyadmin/phpmyadmin"
13     },
14     "license": "GPL-2.0-only",
15     "authors": [
16         {
17             "name": "The phpMyAdmin Team",
18             "email": "developers@phpmyadmin.net",
19             "homepage": "https://www.phpmyadmin.net/team/"
20         }
21     ],
22     "non-feature-branches": ["RELEASE_.*"],
23     "autoload": {
24         "psr-4": {
25             "PhpMyAdmin\\": "libraries/classes"
26         }
27     },
28     "autoload-dev": {
29         "psr-4": {
30             "PhpMyAdmin\\Tests\\": "test/classes",
31             "PhpMyAdmin\\Tests\\Selenium\\": "test/selenium/"
32         }
33     },
34     "repositories": [
35         {
36             "type": "composer",
37             "url": "https://www.phpmyadmin.net"
38         }
39     ],
40     "require": {
41         "php": "^7.1.3 || ^8.0",
42         "ext-hash": "*",
43         "ext-iconv": "*",
44         "ext-json": "*",
45         "ext-mysqli": "*",
46         "ext-pcre": "*",
47         "ext-xml": "*",
48         "google/recaptcha": "^1.1",
49         "nikic/fast-route": "^1.3",
50         "phpmyadmin/motranslator": "^5.0",
51         "phpmyadmin/shapefile": "^2.0",
52         "phpmyadmin/sql-parser": "^5.5",
53         "phpmyadmin/twig-i18n-extension": "^3.0",
54         "phpseclib/phpseclib": "^2.0",
55         "symfony/config": "^4.4.9",
56         "symfony/dependency-injection": "^4.4.9",
57         "symfony/expression-language": "^4.4.9",
58         "symfony/polyfill-ctype": "^1.17.0",
59         "symfony/polyfill-mbstring": "^1.17.0",
60         "twig/twig": "^2.14.9 || ^3.3.5",
61         "williamdes/mariadb-mysql-kbs": "^1.2"
62     },
63     "conflict": {
64         "phpseclib/phpseclib": "2.0.8",
65         "tecnickcom/tcpdf": "<6.2",
66         "pragmarx/google2fa": "<6.1.0 || >8.0",
67         "pragmarx/google2fa-qrcode": "<1.0.1"
68     },
69     "suggest": {
70         "ext-openssl": "For encryption performance",
71         "ext-curl": "Updates checking",
72         "ext-opcache": "Better performance",
73         "ext-zlib": "For gz import and export",
74         "ext-bz2": "For bzip2 import and export",
75         "ext-zip": "For zip import and export",
76         "ext-gd2": "For image transformations",
77         "ext-mbstring": "For best performance",
78         "tecnickcom/tcpdf": "For PDF support",
79         "pragmarx/google2fa-qrcode": "For 2FA authentication",
80         "code-lts/u2f-php-server": "For FIDO U2F authentication",
81         "paragonie/sodium_compat": "For modern encryption support"
82     },
83     "require-dev": {
84         "code-lts/u2f-php-server": "^1.2",
85         "paragonie/sodium_compat": "^1.17",
86         "php-webdriver/webdriver": "^1.11",
87         "phpmyadmin/coding-standard": "^2.1.1",
88         "phpstan/extension-installer": "^1.1",
89         "phpstan/phpstan": "^1.4.5",
90         "phpstan/phpstan-phpunit": "^1.0",
91         "phpunit/phpunit": "^7.5 || ^8.0 || ^9.0",
92         "pragmarx/google2fa-qrcode": "^1.0.1",
93         "symfony/console": "^4.4",
94         "symfony/finder": "^4.4",
95         "symfony/twig-bridge": "^4.4",
96         "tecnickcom/tcpdf": "^6.4.4",
97         "vimeo/psalm": "^4.19"
98     },
99     "extra": {
100         "branch-alias": {
101             "dev-master": "5.2.x-dev"
102         }
103     },
104     "scripts": {
105         "phpcbf": "phpcbf",
106         "phpcs": "phpcs",
107         "phpstan": "phpstan analyse",
108         "psalm": "psalm",
109         "phpunit": "phpunit --color=always",
110         "test": [
111             "@phpcs",
112             "@phpstan",
113             "@psalm",
114             "@phpunit"
115         ],
116         "update:baselines": "phpstan analyse --generate-baseline && psalm --set-baseline=psalm-baseline.xml",
117         "twig-lint": "php scripts/console lint:twig templates --ansi --show-deprecations"
118     },
119     "config":{
120         "sort-packages": true,
121         "discard-changes": true,
122         "allow-plugins": {
123             "dealerdirect/phpcodesniffer-composer-installer": true,
124             "phpstan/extension-installer": true,
125             "composer/package-versions-deprecated": true
126         }
127     }