summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: 3f3c96d975b7db58ff01e06db22607b4070d18dc (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
102
103
104
105
106
107
108
{
    "name": "cakephp/cakephp",
    "description": "The CakePHP framework",
    "type": "library",
    "keywords": [
        "framework",
        "mvc",
        "rapid-development",
        "conventions over configuration",
        "dry",
        "orm",
        "form",
        "validation",
        "psr-7"
    ],
    "homepage": "https://cakephp.org",
    "license": "MIT",
    "authors": [
        {
            "name": "CakePHP Community",
            "homepage": "https://github.com/cakephp/cakephp/graphs/contributors"
        }
    ],
    "support": {
        "issues": "https://github.com/cakephp/cakephp/issues",
        "forum": "https://stackoverflow.com/tags/cakephp",
        "irc": "irc://irc.freenode.org/cakephp",
        "source": "https://github.com/cakephp/cakephp"
    },
    "require": {
        "php": ">=5.6.0",
        "ext-intl": "*",
        "ext-mbstring": "*",
        "cakephp/chronos": "^1.0.1",
        "aura/intl": "^3.0.0",
        "laminas/laminas-diactoros": "^1.4.0",
        "psr/log": "^1.0.0",
        "psr/simple-cache": "^1.0.0",
        "paragonie/random_compat": "^1.4|^2.0|9.99.99"
    },
    "suggest": {
        "ext-openssl": "To use Security::encrypt() or have secure CSRF token generation.",
        "ext-curl": "To enable more efficient network calls in Http\\Client.",
        "lib-ICU": "The intl PHP library, to use Text::transliterate() or Text::slug()",
        "paragonie/csp-builder": "CSP builder, to use the CSP Middleware"
    },
    "require-dev": {
        "cakephp/cakephp-codesniffer": "^3.0",
        "cakephp/chronos": "^1.2.1",
        "phpunit/phpunit": "^5.7.14|^6.0",
        "paragonie/csp-builder": "^1.4|^2.3"
    },
    "autoload": {
        "psr-4": {
            "Cake\\": "src/"
        },
        "files": [
            "src/Core/functions.php",
            "src/Collection/functions.php",
            "src/I18n/functions.php",
            "src/Utility/bootstrap.php"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Cake\\PHPStan\\": "tests/PHPStan/",
            "Cake\\Test\\": "tests/",
            "TestApp\\": "tests/test_app/TestApp/",
            "TestPlugin\\": "tests/test_app/Plugin/TestPlugin/src/",
            "TestPlugin\\Test\\": "tests/test_app/Plugin/TestPlugin/tests/",
            "TestPluginTwo\\": "tests/test_app/Plugin/TestPluginTwo/src/",
            "Company\\TestPluginThree\\": "tests/test_app/Plugin/Company/TestPluginThree/src/",
            "Company\\TestPluginThree\\Test\\": "tests/test_app/Plugin/Company/TestPluginThree/tests/",
            "ParentPlugin\\": "tests/test_app/Plugin/ParentPlugin/src/",
            "PluginJs\\": "tests/test_app/Plugin/PluginJs/src/"
        }
    },
    "replace": {
        "cakephp/cache": "self.version",
        "cakephp/collection": "self.version",
        "cakephp/core": "self.version",
        "cakephp/datasource": "self.version",
        "cakephp/database": "self.version",
        "cakephp/event": "self.version",
        "cakephp/filesystem": "self.version",
        "cakephp/form": "self.version",
        "cakephp/i18n": "self.version",
        "cakephp/log": "self.version",
        "cakephp/orm": "self.version",
        "cakephp/utility": "self.version",
        "cakephp/validation": "self.version"
    },
    "conflict": {
        "phpunit/phpunit": "<5.7"
    },
    "scripts": {
        "check": [
            "@cs-check",
            "@test"
        ],
        "cs-check": "phpcs --colors --parallel=16 -p src/ tests/",
        "cs-fix": "phpcbf --colors --parallel=16 -p src/ tests/",
        "test": "phpunit",
        "test-coverage": "phpunit --coverage-clover=clover.xml",
        "phpstan": "phpstan analyse -c phpstan.neon -l 2 src/",
        "phpstan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan-shim:^0.11 && mv composer.backup composer.json"
    }
}