summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: 48caa44f8af51b3dab753e3ce701ffbc0c4bd03a (plain)
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
{
    "name": "sabre/http",
    "description" : "The sabre/http library provides utilities for dealing with http requests and responses. ",
    "keywords" : [ "HTTP" ],
    "homepage" : "https://github.com/fruux/sabre-http",
    "license" : "BSD-3-Clause",
    "require" : {
        "php"          : "^7.1 || ^8.0",
        "ext-mbstring" : "*",
        "ext-ctype"    : "*",
        "ext-curl"     : "*",
        "sabre/event"  : ">=4.0 <6.0",
        "sabre/uri"    : "^2.0"
    },
    "require-dev" : {
        "friendsofphp/php-cs-fixer": "~2.17.1||^3.63",
        "phpstan/phpstan": "^0.12",
        "phpunit/phpunit" : "^7.5 || ^8.5 || ^9.6"
    },
    "suggest" : {
        "ext-curl" : " to make http requests with the Client class"
    },
    "authors" : [
        {
            "name" : "Evert Pot",
            "email" : "me@evertpot.com",
            "homepage" : "http://evertpot.com/",
            "role" : "Developer"
        }
    ],
    "support" : {
        "forum" : "https://groups.google.com/group/sabredav-discuss",
        "source" : "https://github.com/fruux/sabre-http"
    },
    "autoload" : {
        "files" : [
            "lib/functions.php"
        ],
        "psr-4" : {
            "Sabre\\HTTP\\" : "lib/"
        }
    },
    "autoload-dev" : {
        "psr-4" : {
            "Sabre\\HTTP\\" : "tests/HTTP"
        }
    },
    "scripts": {
        "phpstan": [
            "phpstan analyse lib tests"
        ],
        "cs-fixer": [
            "PHP_CS_FIXER_IGNORE_ENV=true php-cs-fixer fix"
        ],
        "phpunit": [
            "phpunit --configuration tests/phpunit.xml"
        ],
        "test": [
            "composer phpstan",
            "composer cs-fixer",
            "composer phpunit"
        ]
    }
}