Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
72 lines (72 loc) · 2.21 KB
/
Copy pathcomposer.json
File metadata and controls
72 lines (72 loc) · 2.21 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
{
"name": "hyperf/single-flight-incubator",
"description": "A concurrent library for Hyperf",
"type": "library",
"license": "MIT",
"keywords": [
"php",
"hyperf",
"single-flight",
"barrier",
"double-barrier",
"semephore",
"worker-pool"
],
"homepage": "https://github.com/hyperf/single-flight-incubator",
"support": {
"issues": "https://github.com/hyperf/single-flight-incubator/issues",
"source": "https://github.com/hyperf/single-flight-incubator"
},
"autoload": {
"psr-4": {
"Hyperf\\Incubator\\Barrier\\": "src/Barrier/",
"Hyperf\\Incubator\\DoubleBarrier\\": "src/DoubleBarrier/",
"Hyperf\\Incubator\\Semaphore\\": "src/Semaphore/",
"Hyperf\\Incubator\\SingleFlight\\": "src/SingleFlight/",
"Hyperf\\Incubator\\WorkerPool\\": "src/WorkerPool/"
}
},
"require": {
"php": ">=8.1",
"hyperf/context": "~3.1.0",
"hyperf/di": "~3.1.0",
"hyperf/support": "~3.1.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"hyperf/testing": "~3.1.0",
"phpstan/phpstan": "^1.0",
"phpunit/phpunit": "^10.0",
"swoole/ide-helper": "~5.0.0"
},
"autoload-dev": {
"psr-4": {
"HyperfTest\\Incubator\\": "tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"optimize-autoloader": true,
"sort-packages": true
},
"scripts": {
"test": "co-phpunit -c phpunit.xml --colors=always --display-warnings",
"cs-fix": "php-cs-fixer fix $1",
"analyse": "phpstan analyse --memory-limit 1024M -l 8 ./src"
},
"extra": {
"branch-alias": {
"dev-main": "0.5-dev"
},
"hyperf": {
"config": [
"Hyperf\\Incubator\\Barrier\\ConfigProvider",
"Hyperf\\Incubator\\DoubleBarrier\\ConfigProvider",
"Hyperf\\Incubator\\Semaphore\\ConfigProvider",
"Hyperf\\Incubator\\SingleFlight\\ConfigProvider",
"Hyperf\\Incubator\\WorkerPool\\ConfigProvider"
]
}
}
}