summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: b6cffb8f8362687115d80e7cac90a88e911735e1 (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
109
110
111
112
113
114
115
116
117
118
119
120
121
{
    "name": "cakephp/cakephp",
    "type": "library",
    "description": "The CakePHP framework",
    "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"
        }
    ],
    "require": {
        "php": ">=7.2.0",
        "ext-intl": "*",
        "ext-json": "*",
        "ext-mbstring": "*",
        "cakephp/chronos": "^2.0",
        "composer/ca-bundle": "^1.2",
        "laminas/laminas-diactoros": "^2.2.2",
        "laminas/laminas-httphandlerrunner": "^1.1",
        "league/container": "^3.2",
        "psr/http-client": "^1.0",
        "psr/http-server-handler": "^1.0",
        "psr/http-server-middleware": "^1.0",
        "psr/log": "^1.0.0",
        "psr/simple-cache": "^1.0.0"
    },
    "replace": {
        "cakephp/cache": "self.version",
        "cakephp/collection": "self.version",
        "cakephp/console": "self.version",
        "cakephp/core": "self.version",
        "cakephp/database": "self.version",
        "cakephp/datasource": "self.version",
        "cakephp/event": "self.version",
        "cakephp/filesystem": "self.version",
        "cakephp/form": "self.version",
        "cakephp/http": "self.version",
        "cakephp/i18n": "self.version",
        "cakephp/log": "self.version",
        "cakephp/orm": "self.version",
        "cakephp/utility": "self.version",
        "cakephp/validation": "self.version"
    },
    "require-dev": {
        "cakephp/cakephp-codesniffer": "^4.0",
        "mikey179/vfsstream": "^1.6",
        "paragonie/csp-builder": "^2.3",
        "phpunit/phpunit": "^8.5 || ^9.3"
    },
    "suggest": {
        "ext-curl": "To enable more efficient network calls in Http\\Client.",
        "ext-openssl": "To use Security::encrypt() or have secure CSRF token generation.",
        "lib-ICU": "The intl PHP library, to use Text::transliterate() or Text::slug()",
        "paragonie/csp-builder": "CSP builder, to use the CSP Middleware"
    },
    "config": {
        "process-timeout": 900,
        "sort-packages": true
    },
    "autoload": {
        "psr-4": {
            "Cake\\": "src/"
        },
        "files": [
            "src/Core/functions.php",
            "src/Collection/functions.php",
            "src/I18n/functions.php",
            "src/Routing/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/"
        }
    },
    "scripts": {
        "check": [
            "@cs-check",
            "@test"
        ],
        "cs-check": "phpcs --colors --parallel=16 -p src/ tests/",
        "cs-fix": "phpcbf --colors --parallel=16 -p src/ tests/",
        "phpstan": "phpstan.phar analyse",
        "psalm": "psalm.phar --show-info=false",
        "stan": [
            "@phpstan",
            "@psalm"
        ],
        "stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:0.12.88 psalm/phar:~4.8.1 && mv composer.backup composer.json",
        "test": "phpunit",
        "test-coverage": "phpunit --coverage-clover=clover.xml"
    },
    "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"
    }
}