summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: 98edcd79d1a448a51abf8172e74c9eab6cca9bc2 (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
65
66
67
68
69
70
71
72
{
    "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.4 || ^8.0",
        "ext-mbstring" : "*",
        "ext-ctype"    : "*",
        "ext-curl"     : "*",
        "sabre/event"  : "^6.0",
        "sabre/uri"    : "^2.3 || ^3.0"
    },
    "require-dev" : {
        "friendsofphp/php-cs-fixer": "^3.64",
        "phpstan/phpstan": "^1.11",
        "phpstan/phpstan-phpunit": "^1.4",
        "phpstan/phpstan-strict-rules": "^1.6",
        "phpstan/extension-installer": "^1.3",
        "phpunit/phpunit" : "^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"
        ]
    },
    "config": {
        "allow-plugins": {
            "phpstan/extension-installer": true
        }
    }
}