Merge branch 'QA_5_0'
[phpmyadmin.git] / composer.json
blobc9564c2c5961ee034df108eb4bad3fe59d779ef4
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",
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.0",
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.9 || ^3",
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",
67         "pragmarx/google2fa-qrcode": "<1.0.1",
68         "samyoul/u2f-php-server": "<1.1"
69     },
70     "suggest": {
71         "ext-openssl": "Cookie encryption",
72         "ext-curl": "Updates checking",
73         "ext-opcache": "Better performance",
74         "ext-zlib": "For gz import and export",
75         "ext-bz2": "For bzip2 import and export",
76         "ext-zip": "For zip import and export",
77         "ext-gd2": "For image transformations",
78         "ext-mbstring": "For best performance",
79         "tecnickcom/tcpdf": "For PDF support",
80         "pragmarx/google2fa-qrcode": "For 2FA authentication",
81         "samyoul/u2f-php-server": "For FIDO U2F authentication"
82     },
83     "require-dev": {
84         "php-webdriver/webdriver": "^1.8",
85         "phpmyadmin/coding-standard": "^2.0",
86         "phpstan/extension-installer": "^1.0",
87         "phpstan/phpstan": "^0.12.40",
88         "phpstan/phpstan-phpunit": "^0.12.16",
89         "phpunit/phpunit": "^7.5 || ^8.0 || ^9.0",
90         "pragmarx/google2fa-qrcode": "^1.0.1",
91         "samyoul/u2f-php-server": "^1.1",
92         "symfony/console": "^4.4",
93         "symfony/finder": "^4.4",
94         "symfony/twig-bridge": "^4.4",
95         "tecnickcom/tcpdf": "^6.3",
96         "vimeo/psalm": "^3.16"
97     },
98     "extra": {
99         "branch-alias": {
100             "dev-master": "5.1.x-dev"
101         }
102     },
103     "scripts": {
104         "phpcbf": "phpcbf",
105         "phpcs": "phpcs",
106         "phpstan": "phpstan analyse",
107         "psalm": "psalm",
108         "phpunit": "phpunit --color=always",
109         "test": [
110             "@phpcs",
111             "@phpstan",
112             "@psalm",
113             "@phpunit"
114         ],
115         "update:baselines": "phpstan analyse --generate-baseline && psalm --set-baseline=psalm-baseline.xml",
116         "twig-lint": "php scripts/console lint:twig templates --ansi --show-deprecations"
117     },
118     "config":{
119         "sort-packages": true
120     }