summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: 474d0a314dd4af9bca2e7ab5627124fc1acb0692 (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
{
    "name": "bartlett/php-compatinfo",
    "description": "Find out the minimum version and the extensions required for a piece of code to run",
    "keywords": ["compatibility", "version"],
    "type": "library",
    "license": "BSD-3-Clause",
    "homepage": "https://github.com/llaville/php-compatinfo",
    "support": {
        "source": "https://github.com/llaville/php-compatinfo",
        "issues": "https://github.com/llaville/php-compatinfo/issues"
    },
    "require": {
        "php": "^7.4|^8.0",
        "ext-json": "*",
        "ext-libxml": "*",
        "ext-pcre": "*",
        "ext-spl": "*",
        "bartlett/php-compatinfo-db": "^3.6",
        "composer/package-versions-deprecated": "^1.8",
        "doctrine/collections": "^1.4",
        "nikic/php-parser": "^4.10",
        "psr/log": "^1.0",
        "ramsey/uuid": "^3.9|^4.0",
        "symfony/config": "^4.4|^5.0",
        "symfony/console": "^4.4|^5.0",
        "symfony/event-dispatcher": "^4.4|^5.0",
        "symfony/finder": "^4.4|^5.0",
        "symfony/dependency-injection": "^4.4|^5.0",
        "symfony/serializer": "^4.4|^5.0",
        "symfony/stopwatch": "^4.4|^5.0"
    },
    "require-dev": {
        "composer/composer": "^2.0",
        "symfony/phpunit-bridge": "^5.1"
    },
    "authors": [
        {
            "name": "Laurent Laville",
            "homepage": "https://github.com/llaville",
            "role": "Lead"
        },
        {
            "name": "Remi Collet",
            "homepage": "https://github.com/remicollet",
            "role": "Contributor"
        }
    ],
    "bin": [
        "bin/phpcompatinfo"
    ],
    "autoload": {
        "psr-4": {
            "Bartlett\\CompatInfo\\": "src/"
        },
        "files": ["src/Infrastructure/Framework/Symfony/Polyfill.php"]
    },
    "autoload-dev": {
        "psr-4": {
            "Bartlett\\CompatInfo\\Tests\\": "tests/"
        }
    },
    "scripts": {
        "setup-database": [
            "mkdir -p ${HOME}/.cache/bartlett/ && touch ${HOME}/.cache/bartlett/compatinfo-db.sqlite",
            "export DATABASE_URL=sqlite:///${HOME}/.cache/bartlett/compatinfo-db.sqlite"
        ],
        "post-install-cmd": [
            "Bartlett\\CompatInfo\\ComposerScripts::preparePharMetadata",
            "@setup-database",
            "vendor/bin/doctrine orm:schema-tool:create",
            "vendor/bartlett/php-compatinfo-db/bin/compatinfo-db db:init"
        ],
        "post-update-cmd": [
            "Bartlett\\CompatInfo\\ComposerScripts::preparePharMetadata",
            "@setup-database"
        ]
    },
    "scripts-descriptions": {
        "setup-database": "Initializes SQLite database from JSON files in data directory."
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "config": {
        "sort-packages": true,
        "optimize-autoloader": true,
        "allow-plugins": {
            "composer/package-versions-deprecated": true
        }
    }
}