summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: 5165ccecff87354b3e82bacf1dde1c41f4aa632d (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": "league/container",
    "description": "A fast and intuitive dependency injection container.",
    "keywords": [
        "league",
        "container",
        "dependency",
        "injection",
        "di",
        "service",
        "provider"
    ],
    "homepage": "https://github.com/thephpleague/container",
    "license": "MIT",
    "authors": [
        {
            "name": "Phil Bennett",
            "email": "mail@philbennett.co.uk",
            "role": "Developer"
        }
    ],
    "require": {
        "php": "^7.2 || ^8.0",
        "psr/container": "^2.0.0"
    },
    "require-dev": {
        "nette/php-generator": "^3.4",
        "nikic/php-parser": "^4.10",
        "phpstan/phpstan": "^0.12.47",
        "phpunit/phpunit": "^8.5.17",
        "roave/security-advisories": "dev-latest",
        "scrutinizer/ocular": "^1.8",
        "squizlabs/php_codesniffer": "^3.6"
    },
    "provide": {
        "psr/container-implementation": "^1.0"
    },
    "replace": {
        "orno/di": "~2.0"
    },
    "autoload": {
        "psr-4": {
            "League\\Container\\": "src"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "League\\Container\\Test\\": "tests"
        },
        "files": [
            "tests/Asset/function.php"
        ]        
    },
    "extra": {
        "branch-alias": {
            "dev-master": "4.x-dev",
            "dev-4.x": "4.x-dev",
            "dev-3.x": "3.x-dev",
            "dev-2.x": "2.x-dev",
            "dev-1.x": "1.x-dev"
        }
    },
    "scripts": {
        "test": [
            "phpunit",
            "phpstan analyse"
        ]
    }
}