Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
108 lines (108 loc) · 2.74 KB
/
Copy pathcomposer.json
File metadata and controls
108 lines (108 loc) · 2.74 KB
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
{
"name": "croct/plug-php",
"description": "Server-side library to plug your PHP applications into Croct.",
"license": "MIT",
"type": "library",
"keywords": [
"croct",
"personalization",
"php",
"server-side"
],
"authors": [
{
"name": "Croct",
"email": "lib+plug-php@croct.com",
"homepage": "https://croct.com"
}
],
"homepage": "https://github.com/croct-tech/plug-php",
"support": {
"issues": "https://github.com/croct-tech/plug-php/issues",
"source": "https://github.com/croct-tech/plug-php"
},
"require": {
"php": "^8.2",
"ext-hash": "*",
"ext-json": "*",
"ext-mbstring": "*",
"ext-openssl": "*",
"composer-runtime-api": "^2.0",
"php-http/discovery": "^1.19",
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.1 || ^2.0",
"psr/log": "^2.0 || ^3.0",
"psr/simple-cache": "^1.0 || ^2.0 || ^3.0",
"vlucas/phpdotenv": "^5.6"
},
"require-dev": {
"ext-simplexml": "*",
"croct/coding-standard": "^0.4.5",
"ergebnis/composer-normalize": "^2.28",
"guzzlehttp/guzzle": "^7.5",
"nyholm/psr7": "^1.8",
"php-http/mock-client": "^1.6",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^11.0",
"squizlabs/php_codesniffer": "^4.0",
"symfony/cache": "^6.4 || ^7.0",
"vimeo/psalm": "^5.26 || ^6.0"
},
"suggest": {
"guzzlehttp/guzzle": "A PSR-18 HTTP client used to talk to the Croct API (any PSR-18 client works).",
"nyholm/psr7": "A lightweight PSR-7/PSR-17 implementation for building requests.",
"symfony/http-client": "An alternative PSR-18 HTTP client."
},
"repositories": [
{
"type": "composer",
"url": "https://croct.repo.repman.io",
"secure-http": true
}
],
"prefer-stable": true,
"autoload": {
"psr-4": {
"Croct\\Content\\": "stubs/",
"Croct\\Plug\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Croct\\Plug\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true,
"php-http/discovery": true,
"phpstan/extension-installer": true
}
},
"extra": {
"phpstan": {
"includes": [
"extension.neon"
]
},
"psalm": {
"pluginClass": "Croct\\Plug\\Psalm\\ContentStubPlugin"
}
},
"scripts": {
"test": [
"composer validate",
"composer normalize --dry-run",
"mkdir -p .cache",
"phpcs",
"phpstan analyse --memory-limit=512M",
"phpunit"
]
}
}