summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: c61d7a7cc6ef565115771b52073fcab3599841fa (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
{
    "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/collection": "^4.0",
        "cakephp/database": "^4.0",
        "symfony/console": "^3.4|^4.0|^5.0",
        "symfony/config": "^3.4|^4.0|^5.0"
    },
    "require-dev": {
        "ext-json": "*",
        "phpunit/phpunit": "^8.5",
        "sebastian/comparator": ">=1.2.3",
        "cakephp/cakephp-codesniffer": "^3.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",
        "symfony/yaml": "Install if using YAML configuration format"
    },
    "scripts": {
        "check": [
            "@test",
            "@cs-check"
        ],
        "cs-check": "phpcs --colors -p --standard=vendor/cakephp/cakephp-codesniffer/CakePHP --ignore=/tests/Phinx/Config/_rootDirectories/,/tests/log/ src/ tests/ app/",
        "cs-fix": "phpcbf --colors -p --standard=vendor/cakephp/cakephp-codesniffer/CakePHP --ignore=/tests/Phinx/Config/_rootDirectories/,/tests/log/ src/ tests/ app/",
        "stan": "phpstan analyse src/",
        "stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:^0.12 && mv composer.backup composer.json",
        "test": "phpunit --colors=always"
    },
    "bin": ["bin/phinx"]
}