Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
69 lines (69 loc) · 2.72 KB
/
Copy pathcomposer.json
File metadata and controls
69 lines (69 loc) · 2.72 KB
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
{
"name": "codeigniter4/appstarter",
"description": "CodeIgniter4 starter app",
"license": "MIT",
"type": "project",
"homepage": "https://codeigniter.com",
"support": {
"forum": "https://forum.codeigniter.com/",
"source": "https://github.com/codeigniter4/CodeIgniter4",
"slack": "https://codeigniterchat.slack.com"
},
"require": {
"php": "^8.4",
"ext-fileinfo": "*",
"ext-gd": "*",
"ext-sockets": "*",
"cboden/ratchet": "^0.4.4",
"codeigniter4/framework": "^4.7",
"friendsofphp/php-cs-fixer": "^3.95",
"phpstan/phpstan": "^2.2",
"symfony/http-foundation": "^6.4.41",
"symfony/routing": "^6.4.41"
},
"require-dev": {
"fakerphp/faker": "^1.9",
"infection/infection": "^0.35.4",
"mikey179/vfsstream": "^1.6",
"phpunit/phpunit": "^13.0"
},
"autoload": {
"psr-4": {
"App\\": "app/",
"Config\\": "app/Config/"
},
"exclude-from-classmap": [
"**/Database/Migrations/**"
]
},
"autoload-dev": {
"psr-4": {
"Tests\\Support\\": "tests/_support",
"Tests\\": "tests/Tests/"
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"infection/extension-installer": true
}
},
"scripts": {
"test": "phpunit --testsuite UnitFeature --exclude-group integration,integration-websocket",
"test:unit": "phpunit tests/Tests/Unit",
"test:database": "phpunit tests/Tests/Database",
"test:feature": "phpunit tests/Tests/Feature",
"test:integration": "phpunit --testsuite Integration --group integration --exclude-group integration-websocket",
"test:integration:mysql": "phpunit --testsuite Integration --group message-search --group database-constraints --group webhooks",
"test:integration:websocket": "phpunit --testsuite Integration --group integration-websocket",
"test:all": "phpunit --exclude-group integration-websocket",
"test:coverage": "phpunit --colors --testsuite UnitFeature --exclude-group integration,integration-websocket --coverage-clover build/logs/clover.xml --coverage-html build/logs/html",
"test:coverage:text": "phpunit --colors --testsuite UnitFeature --exclude-group integration,integration-websocket --coverage-text",
"infection": "@php -d memory_limit=1G vendor/bin/infection --threads=4 --show-mutations",
"analyse": "phpstan analyse --memory-limit=256M",
"cs-check": "php-cs-fixer fix --dry-run --diff",
"cs-fix": "php-cs-fixer fix"
}
}