summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: 18b07b3b2f9ca1b6ed999a08ef1b6aeafd54aa6b (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
{
    "name": "robmorgan/phinx",
    "type": "library",
    "description": "Phinx makes it ridiculously easy to manage the database migrations for your PHP app.",
    "keywords": [
        "phinx",
        "migrations",
        "database",
        "db",
        "database migrations"
    ],
    "homepage": "https://phinx.org",
    "license": "MIT",
    "authors": [
        {
            "name": "Rob Morgan",
            "email": "robbym@gmail.com",
            "homepage": "https://robmorgan.id.au",
            "role": "Lead Developer"
        },
        {
            "name": "Woody Gilk",
            "email": "woody.gilk@gmail.com",
            "homepage": "https://shadowhand.me",
            "role": "Developer"
        },
        {
            "name": "Richard Quadling",
            "email": "rquadling@gmail.com",
            "role": "Developer"
        },
        {
            "name": "CakePHP Community",
            "role": "Developer",
            "homepage": "https://github.com/cakephp/phinx/graphs/contributors"
        }
    ],
    "require": {
        "php": ">=7.2",
        "cakephp/database": "^4.0",
        "psr/container": "^1.0 || ^2.0",
        "symfony/console": "^3.4|^4.0|^5.0|^6.0",
        "symfony/config": "^3.4|^4.0|^5.0|^6.0"
    },
    "require-dev": {
        "ext-json": "*",
        "ext-pdo": "*",
        "phpunit/phpunit": "^8.5|^9.3",
        "sebastian/comparator": ">=1.2.3",
        "cakephp/cakephp-codesniffer": "^4.0",
        "symfony/yaml": "^3.4|^4.0|^5.0"
    },
    "autoload": {
        "psr-4": {
            "Phinx\\": "src/Phinx/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Test\\Phinx\\": "tests/Phinx/"
        }
    },
    "suggest": {
        "ext-json": "Install if using JSON configuration format",
        "ext-pdo": "PDO extension is needed",
        "symfony/yaml": "Install if using YAML configuration format"
    },
    "scripts": {
        "check": [
            "@test",
            "@cs-check"
        ],
        "cs-check": "phpcs",
        "cs-fix": "phpcbf",
        "stan": "phpstan analyse",
        "stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:~1.9.0 && mv composer.backup composer.json",
        "test": "phpunit --colors=always"
    },
    "bin": [
        "bin/phinx"
    ],
    "config": {
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true
        }
    }
}