-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathcomposer.json
74 lines (74 loc) · 2.27 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
{
"name": "idealo/php-rdkafka-ffi",
"description": "PHP Kafka client - binding librdkafka via FFI",
"keywords": [
"php",
"ffi",
"librdkafka",
"kafka",
"client"
],
"license": "Apache-2.0",
"authors": [
{
"name": "Dirk Adler",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"": "src/"
},
"files": [
"src/constants.php",
"src/functions.php"
]
},
"autoload-dev": {
"psr-4": {
"": "tests/",
"RdKafka\\FFIGen\\": "resources/ffigen"
}
},
"require": {
"php" : "^7.4 || ^8.0",
"ext-ffi": "*",
"ext-pcntl": "*"
},
"suggest": {
"ext-zend opcache": "*"
},
"conflict": {
"ext-rdkafka": "*"
},
"require-dev": {
"phpunit/phpunit": "^9.4",
"ircmaxell/php-c-parser": "dev-master",
"symplify/easy-coding-standard": "^8.1",
"klitsche/ffigen": "^0.6",
"klitsche/dog": "^0.4",
"symfony/dom-crawler": "^5.1",
"symfony/css-selector": "^5.1",
"phpbench/phpbench": "dev-master"
},
"scripts": {
"test-init" : [
"php examples/delete-topic.php -ttest",
"php examples/delete-topic.php -ttest_partitions",
"php examples/create-topic.php -ttest -p1 -r1",
"php examples/create-topic.php -ttest_partitions -p3 -r1"
],
"test" : "vendor/bin/phpunit",
"test-coverage" : "vendor/bin/phpunit --coverage-text --coverage-clover=clover.xml",
"cs" : "vendor/bin/ecs check src tests examples resources/ffigen benchmarks --ansi",
"cs-fix" : "vendor/bin/ecs check src tests examples resources/ffigen benchmarks --ansi --fix",
"prepare-docs": [
"echo '---\ntitle: Getting started\n---\n' > docs/index.md",
"sed 's/docs\\/img/img/g' README.md | sed 's/LICENSE)/license.md)/g' | sed 's/CONTRIBUTING.md/contributing.md/g' >> docs/index.md",
"sed 's/docs\\/try-out/try-out/g' CONTRIBUTING.md > docs/contributing.md",
"cp CHANGELOG.md docs/changelog.md",
"cp LICENSE docs/license.md",
"vendor/bin/dog"
]
}
}