forked from rjsandim/GetnetSDK
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathcomposer.json
70 lines (70 loc) · 1.72 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
{
"name": "edson-nascimento/getnet-php",
"description": "SDK php para integração com a API Getnet",
"minimum-stability": "stable",
"license": "MIT",
"type": "library",
"require": {
"php": "^8.2"
},
"require-dev": {
"phpunit/phpunit": "^11.5.2",
"phpstan/phpstan": "^1.12.15",
"kint-php/kint": "^5.1.1",
"monolog/monolog": "*",
"friendsofphp/php-cs-fixer": "^3.65.0",
"brainmaestro/composer-git-hooks": "^3.0.0"
},
"autoload": {
"psr-4": {
"Getnet\\": "src//Getnet"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests"
}
},
"scripts": {
"start": "php -S localhost:8879 -t .",
"format:check": "php-cs-fixer fix --dry-run --stop-on-violation",
"format:fix": "php-cs-fixer fix",
"phpstan": "phpstan analyse -c phpstan.neon",
"phpunit": "phpunit --configuration phpunit.xml --testdox",
"test": [
"@phpstan",
"@phpunit"
],
"lint": [
"@format:fix",
"@phpstan"
],
"test:unit": "phpunit --configuration phpunit.xml --testdox --exclude-group e2e",
"test:e2e": "phpunit --configuration phpunit.xml --testdox --group e2e",
"test:coverage": "phpunit --configuration phpunit.xml --coverage-clover build/logs/clover.xml --coverage-html build/coverage"
},
"extra": {
"hooks": {
"config": {
"stop-on-failure": [
"pre-push",
"pre-commit"
]
},
"pre-commit": [
"composer format:check"
]
}
},
"authors": [
{
"name": "Bruno Paz",
"email": "brunopaz@azpay.com.br"
},
{
"name": "Edson Nascimento",
"email": "edson27bn@gmail.com"
}
],
"homepage": "https://github.com/edson-nascimento/getnet-php"
}