-
Notifications
You must be signed in to change notification settings - Fork 19
/
composer.json
executable file
·69 lines (69 loc) · 1.71 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
{
"name": "yoti/yoti-php-sdk",
"description": "Yoti SDK for quickly integrating your PHP backend with Yoti",
"version": "4.3.1",
"keywords": [
"yoti",
"sdk"
],
"homepage": "https://yoti.com",
"license": "MIT",
"require": {
"php": "^7.4 || ^8.0 || ^8.1",
"ext-json": "*",
"google/protobuf": "^3.10",
"phpseclib/phpseclib": "^3.0",
"guzzlehttp/guzzle": "^7.0",
"psr/http-client": "^1.0",
"psr/http-message": "^2.0",
"guzzlehttp/psr7": "^2.4",
"ext-openssl": "*"
},
"autoload": {
"psr-4": {
"Yoti\\": "src"
}
},
"require-dev": {
"phpunit/phpunit": "^9.5.13",
"squizlabs/php_codesniffer": "^3.4",
"friendsofphp/php-cs-fixer": "^3.4",
"brainmaestro/composer-git-hooks": "^2.8",
"phpstan/phpstan-strict-rules": "^0.12.1",
"phpstan/extension-installer": "^1.0",
"psr/log": "^1.1",
"symfony/phpunit-bridge": "^6.2"
},
"autoload-dev": {
"psr-4": {
"Yoti\\Test\\": "tests/"
}
},
"scripts": {
"cghooks": "cghooks",
"test": "phpunit",
"coverage-clover": "phpunit --coverage-clover ./coverage/coverage.xml",
"coverage-html": "phpunit --coverage-html ./coverage/report",
"fix": [
"php-cs-fixer fix --config=.php-cs-fixer.dist.php -v --using-cache=no",
"phpcbf"
],
"lint": [
"phpcs",
"php-cs-fixer fix --config=.php-cs-fixer.dist.php -v --dry-run --using-cache=no",
"phpstan analyse"
],
"post-install-cmd": "cghooks add --ignore-lock",
"post-update-cmd": "cghooks update"
},
"extra": {
"hooks": {
"pre-commit": "composer test && composer lint"
}
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true
}
}
}