summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: 3c31181eb755e777533ab6f2f23192f4bfd49182 (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
{
    "name": "sabre/event",
    "description": "sabre/event is a library for lightweight event-based programming",
    "keywords": [
        "Events",
        "EventEmitter",
        "Promise",
        "Hooks",
        "Plugin",
        "Signal",
        "Async",
        "EventLoop",
        "Reactor",
        "Coroutine"
    ],
    "homepage": "http://sabre.io/event/",
    "license": "BSD-3-Clause",
    "require": {
        "php": "^7.1 || ^8.0"
    },
    "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-event"
    },
    "autoload": {
        "psr-4": {
            "Sabre\\Event\\": "lib/"
        },
        "files" : [
            "lib/coroutine.php",
            "lib/Loop/functions.php",
            "lib/Promise/functions.php"
        ]
    },
    "autoload-dev": {
        "psr-4" : {
            "Sabre\\Event\\" : "tests/Event"
        }
    },
    "require-dev": {
        "friendsofphp/php-cs-fixer": "~2.17.1",
        "phpstan/phpstan": "^0.12",
        "phpunit/phpunit" : "^7.5 || ^8.5 || ^9.6"
    },
    "scripts": {
        "phpstan": [
            "phpstan analyse lib tests"
        ],
        "cs-fixer": [
            "php-cs-fixer fix"
        ],
        "phpunit": [
            "phpunit --configuration tests/phpunit.xml"
        ],
        "test": [
            "composer phpstan",
            "composer cs-fixer",
            "composer phpunit"
        ]
    }
}