summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: 0d87468645d498836c568c84a3d951ec0be2becd (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
{
    "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": "http://php5.laurent-laville.org/compatinfo/",
    "support": {
        "source": "https://github.com/llaville/php-compat-info",
        "issues": "https://github.com/llaville/php-compat-info/issues"
    },
    "require": {
        "php": "^7.2|^8.0",
        "ext-libxml": "*",
        "ext-pcre": "*",
        "ext-spl": "*",
        "ext-json": "*",
        "ext-pdo": "*",
        "ext-pdo_sqlite": "*",
        "bartlett/php-reflect": "^4.4",
        "bartlett/php-compatinfo-db": "^3.6",
        "doctrine/collections": "^1.4",
        "composer/package-versions-deprecated": "^1.8",
        "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"
    },
    "authors": [
        {
            "name": "Laurent Laville",
            "email": "pear@laurent-laville.org",
            "homepage": "https://github.com/llaville",
            "role": "Lead"
        },
        {
            "name": "Remi Collet",
            "homepage": "https://github.com/remicollet",
            "role": "Contributor"
        }
    ],
    "bin": [
        "bin/phpcompatinfo"
    ],
    "autoload": {
        "psr-4": {
            "Bartlett\\": "src/Bartlett"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Bartlett\\Tests\\CompatInfo\\": "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": [
            "@setup-database",
            "vendor/bin/doctrine orm:schema-tool:create",
            "vendor/bartlett/php-compatinfo-db/bin/compatinfo-db db:init"
        ],
        "post-update-cmd": [
            "@setup-database"
        ]
    },
    "scripts-descriptions": {
        "setup-database": "Initializes SQLite database from JSON files in data directory."
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "config": {
        "optimize-autoloader": true
    }
}