-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
81 lines (81 loc) · 2.21 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
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "phpblock/core",
"type": "library",
"description": "A lightweight asynchronous PHP server/client for blockchain networks.",
"keywords": ["php", "async", "ethereum", "json-rpc", "blockchain"],
"homepage": "https://github.com/sephynox/phpblock",
"license": "MIT",
"authors": [{
"name": "Tanveer Wahid",
"email": "tan@wahid.email",
"homepage": "http://wahid.tech",
"role": "Developer"
}],
"prefer-stable": true,
"minimum-stability": "stable",
"config": {
"platform": {
"php": "7.4"
}
},
"require": {
"php": ">=7.4",
"ext-json": "*",
"react/event-loop": "^1.1",
"react/http": "^1.2",
"react/socket": "^1.6",
"react/promise": "^2.8",
"kornrunner/keccak": "^1.1"
},
"suggest": {
"ext-bcmath": "Needed to support Gwei conversions.",
"ext-swoole": "Allow PHP swoole extension."
},
"autoload": {
"psr-4": {
"PHPBlock\\": "src/"
},
"files": [
"src/Helper/HexTools.php",
"src/Helper/PromiseTools.php"
]
},
"autoload-dev": {
"psr-4": {
"PHPBlock\\Tests\\": "tests/"
}
},
"require-dev": {
"phpunit/phpunit": "^9",
"friendsofphp/php-cs-fixer": "3.0.x-dev",
"phpbench/phpbench": "^0.17.1",
"brainmaestro/composer-git-hooks": "^2.8",
"eaglewu/swoole-ide-helper": "dev-master"
},
"scripts": {
"tests": [
"./vendor/bin/phpunit tests"
],
"bench": [
"./vendor/bin/phpbench run tests/ --report=default"
],
"check": [
"@tests",
"@bench"
]
},
"extra": {
"hooks": {
"pre-commit": [
"echo committing as $(git config user.name)",
"./vendor/bin/php-cs-fixer fix src/"
],
"pre-push": [
"./vendor/bin/php-cs-fixer --dry-run src/",
"./vendor/bin/phpunit tests",
"./vendor/bin/phpbench run tests/ --report=default"
],
"post-merge": "composer install"
}
}
}