forked from moccalotto/hayttp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
44 lines (44 loc) · 1.09 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
{
"name": "moccalotto/hayttp",
"type": "library",
"description": "Easy HTTP API requests with a fluent API",
"keywords": ["rest", "http", "api"],
"homepage": "https://moccalotto.github.io/docs/hayttp",
"license": "MIT",
"authors": [
{
"name": "Kim Ravn Hansen",
"email": "moccalotto@gmail.com",
"homepage": "https://moccalotto.github.io"
}
],
"require": {
"php": ">=7.0.0"
},
"require-dev": {
"phpspec/phpspec": "^3.4",
"friendsofphp/php-cs-fixer": "^2.1.0",
"ext-curl" : "*"
},
"autoload": {
"psr-4": {
"Hayttp\\": "src/"
},
"files": ["src/helpers.php"]
},
"archive": {
"exclude": ["/demo.php", "/spec", "/examples"]
},
"scripts": {
"test-code-style": [
"@php vendor/bin/php-cs-fixer fix --dry-run --diff"
],
"test-bdd": [
"@php vendor/bin/phpspec run --format=pretty"
],
"test": [
"@test-code-style",
"@test-bdd"
]
}
}