-
Notifications
You must be signed in to change notification settings - Fork 120
/
composer.json
68 lines (59 loc) · 1.86 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
{
"name": "rollbar/rollbar",
"description": "Monitors errors and exceptions and reports them to Rollbar",
"type": "library",
"keywords": ["logging", "debugging", "monitoring", "errors", "exceptions"],
"license": "MIT",
"homepage": "https://github.com/rollbar/rollbar-php",
"authors": [
{
"name": "Rollbar, Inc.",
"email": "[email protected]",
"role": "Developer"
}
],
"support": {
"email": "[email protected]"
},
"autoload": {
"psr-4": {
"Rollbar\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Rollbar\\": "tests/"
}
},
"require": {
"php": ">=8.0.0 <9.0",
"ext-curl": "*",
"psr/log": "^1 || ^2 || ^3",
"monolog/monolog": "^2 || ^3"
},
"require-dev": {
"phpunit/phpunit": "^9.6 || ^10.1",
"mockery/mockery": "^1.5.1",
"squizlabs/php_codesniffer": "^3.7",
"phpmd/phpmd" : "^2.13",
"vimeo/psalm": "^5.9"
},
"suggest": {
"fluent/logger": "Needed to use the 'fluent' handler for fluentd support"
},
"scripts": {
"docker-build": "docker build -t rollbar/rollbar-php:3 .",
"docker-run": "docker run -it -v \"${PWD}\":/opt/rollbar/rollbar-php rollbar/rollbar-php:3",
"test": [
"phpcs --standard=PSR2 src tests",
"psalm --long-progress",
"phpunit --coverage-clover build/logs/clover.xml"
],
"fix": "phpcbf --standard=PSR2 src tests",
"get-js-snippet": "ROLLBAR_JS_TAG=$(curl -s https://api.github.com/repos/rollbar/rollbar.js/releases/latest | sed -n 's/\"tag_name\":.*\"\\(.*\\)\",/\\1/p' | sed 's/ *//'); curl -X GET https://raw.githubusercontent.com/rollbar/rollbar.js/$ROLLBAR_JS_TAG/dist/rollbar.snippet.js > data/rollbar.snippet.js",
"performance": "phpunit --coverage-clover build/logs/clover.xml --testsuite 'Rollbar Performance Test Suite'"
},
"config": {
"process-timeout": 600
}
}