-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
80 lines (80 loc) · 2.82 KB
/
composer.json
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
{
"name": "sandromiguel/php-sceleto",
"description": "Sample of PHP file structure.",
"homepage": "https://github.com/SandroMiguel/php-sceleto",
"keywords": [
"php",
"directory",
"structure",
"skeleton",
"phpunit"
],
"type": "project",
"license": "MIT",
"authors": [
{
"name": "Sandro Miguel Marques",
"email": "[email protected]",
"homepage": "http://sandromiguel.com",
"role": "Developer"
}
],
"support": {
"issues": "https://github.com/SandroMiguel/php-sceleto/issues"
},
"autoload": {
"psr-4": {
"PhpSceleto\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"PhpSceleto\\Tests\\": "tests/"
}
},
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"require": {
"php": ">=8.1"
},
"require-dev": {
"nunomaduro/phpinsights": "^2.11",
"phan/phan": "^5.4",
"phpmetrics/phpmetrics": "^2.8",
"phpspec/phpspec": "^7.5",
"phpstan/phpstan": "^1.11",
"phpunit/phpunit": "^9",
"psalm/plugin-phpunit": "^0.18.4",
"vimeo/psalm": "^5.25"
},
"scripts": {
"outdated:direct": "composer outdated --direct",
"phpcs": "~/.config/composer/vendor/bin/phpcs -s src",
"phpcs:file": "~/.config/composer/vendor/bin/phpcs -s",
"phpinsights": "phpinsights analyse src/ -v",
"phpmetrics": "vendor/bin/phpmetrics --report-html=storage/log/php_metrics_report . && node --version",
"phpstan": "phpstan analyse src --level 7",
"psalm": "psalm --show-info=true",
"logs": "tail -f ./storage/log/app.log",
"test": "phpunit --colors=always",
"test:filter": "phpunit --filter",
"test:coverage": "phpunit --coverage-html log/report"
},
"scripts-description": {
"outdated:direct": "Check for outdated Composer dependencies that are defined directly in your project.",
"phpcs": "Run PHP CodeSniffer on the source code in src directory.",
"phpcs:file": "Run PHP CodeSniffer on a specific file.",
"phpinsights": "Analyze code quality and architecture with PHP Insights.",
"phpmetrics": "Generate PHP Metrics report and display Node.js version.",
"phpstan": "Run PHPStan analysis with level 7 on the source code in src directory.",
"psalm": "Run Psalm static analysis.",
"logs": "Tail the application log located at ./storage/log/app.log.",
"test": "Run PHPUnit tests.",
"test:filter": "Run tests with filtering.",
"test:coverage": "Run PHPUnit tests and generate coverage report in log/report directory."
}
}