summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: a5f2171439c2d0a02c114f15ae2bf76cede3d358 (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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
    "name": "composer/composer",
    "type": "library",
    "description": "Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.",
    "keywords": [
        "package",
        "dependency",
        "autoload"
    ],
    "homepage": "https://getcomposer.org/",
    "license": "MIT",
    "authors": [
        {
            "name": "Nils Adermann",
            "email": "naderman@naderman.de",
            "homepage": "https://www.naderman.de"
        },
        {
            "name": "Jordi Boggiano",
            "email": "j.boggiano@seld.be",
            "homepage": "https://seld.be"
        }
    ],
    "require": {
        "php": "^5.3.2 || ^7.0 || ^8.0",
        "composer/ca-bundle": "^1.0",
        "composer/metadata-minifier": "^1.0",
        "composer/semver": "^3.0",
        "composer/spdx-licenses": "^1.2",
        "composer/xdebug-handler": "^2.0 || ^3.0",
        "justinrainbow/json-schema": "^5.2.11",
        "psr/log": "^1.0 || ^2.0",
        "seld/jsonlint": "^1.4",
        "seld/phar-utils": "^1.0",
        "symfony/console": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0",
        "symfony/filesystem": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0",
        "symfony/finder": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0",
        "symfony/process": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0",
        "react/promise": "^1.2 || ^2.7",
        "composer/pcre": "^1.0"
    },
    "require-dev": {
        "symfony/phpunit-bridge": "^4.2 || ^5.0 || ^6.0",
        "phpspec/prophecy": "^1.10"
    },
    "suggest": {
        "ext-openssl": "Enabling the openssl extension allows you to access https URLs for repositories and packages",
        "ext-zip": "Enabling the zip extension allows you to unzip archives",
        "ext-zlib": "Allow gzip compression of HTTP requests"
    },
    "config": {
        "platform": {
            "php": "5.3.9"
        },
        "platform-check": false
    },
    "extra": {
        "branch-alias": {
            "dev-main": "2.2-dev"
        }
    },
    "autoload": {
        "psr-4": {
            "Composer\\": "src/Composer"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Composer\\Test\\": "tests/Composer/Test",
            "Composer\\PHPStanRules\\": "phpstan/Rules/src",
            "Composer\\PHPStanRulesTests\\": "phpstan/Rules/tests"
        },
        "classmap": [
            "phpstan/Rules/tests/data"
        ]
    },
    "bin": [
        "bin/composer"
    ],
    "scripts": {
        "compile": "@php -dphar.readonly=0 bin/compile",
        "test": "@php simple-phpunit",
        "phpstan-setup": [
            "@composer config platform --unset",
            "@composer update",
            "@composer require --dev phpstan/phpstan:1.4.* phpstan/phpstan-phpunit:1.0.* phpstan/phpstan-deprecation-rules:1.0.* phpstan/phpstan-strict-rules:1.1.* phpunit/phpunit:^7.5.20 --with-all-dependencies",
            "git checkout composer.json composer.lock"
        ],
        "phpstan": "@php vendor/bin/phpstan analyse --configuration=phpstan/config.neon"
    },
    "scripts-descriptions": {
        "compile": "Compile composer.phar",
        "test": "Run all tests",
        "phpstan-setup": "Prepare environment to run PHPStan locally (must be run with PHP7.4)",
        "phpstan": "Runs PHPStan (after phpstan-setup was executed, must be run with PHP7.4)"
    },
    "support": {
        "issues": "https://github.com/composer/composer/issues",
        "irc": "ircs://irc.libera.chat:6697/composer"
    }
}