-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
composer.json
74 lines (74 loc) · 2.51 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
{
"name": "samuelgfeller/slim-example-project",
"description": "Example project with the slim micro-framework",
"type": "project",
"license": "MIT",
"require": {
"slim/slim": "^4",
"monolog/monolog": "^3",
"php-di/php-di": "^7.0",
"cakephp/database": "^5",
"slim/php-view": "^3.0",
"cakephp/validation": "^5.0",
"selective/basepath": "^2.0",
"symfony/mailer": "^7",
"odan/session": "^6",
"nyholm/psr7": "^1",
"nyholm/psr7-server": "^1",
"samuelgfeller/slim-error-renderer": "^1.0",
"fig/http-message-util": "^1",
"php": "^8.2",
"ext-pdo": "*",
"ext-json": "*",
"ext-gettext": "*",
"ext-intl": "*"
},
"require-dev": {
"roave/security-advisories": "dev-latest",
"phpunit/phpunit": "^11",
"phpstan/phpstan": "^1",
"jetbrains/phpstorm-attributes": "^1.0",
"friendsofphp/php-cs-fixer": "^3",
"odan/phinx-migrations-generator": "^6",
"samuelgfeller/test-traits": "^6"
},
"autoload": {
"psr-4": {
"App\\": "src/"
},
"files": [
"config/functions.php"
]
},
"autoload-dev": {
"psr-4": {
"App\\Test\\": "tests/"
}
},
"scripts": {
"stan": "phpstan analyse -c phpstan.neon --no-progress --ansi",
"test": "php ./vendor/bin/phpunit --configuration phpunit.xml --do-not-cache-result --colors=always --display-warnings --display-deprecations --no-coverage",
"test:coverage": [
"@putenv XDEBUG_MODE=coverage",
"phpunit --configuration phpunit.xml --do-not-cache-result --colors=always --coverage-clover build/logs/clover.xml --coverage-html build/coverage --coverage-text"
],
"cs:check": "php-cs-fixer fix --dry-run --format=txt --verbose --diff --config=.cs.php --ansi",
"cs:fix": "php-cs-fixer fix --config=.cs.php --ansi --verbose",
"migration:generate": [
"phinx-migrations generate --overwrite -c config/env/env.phinx.php --ansi",
"@schema:generate"
],
"migrate:prod": "vendor/bin/phinx migrate -c config/env/env.phinx.php --ansi -vvv",
"migrate": [
"@migrate:prod",
"@schema:generate"
],
"schema:generate": [
"php bin/console.php SqlSchemaGenerator generateMySqlSchema",
"@add-migrations-to-git"
],
"add-migrations-to-git": "git add resources/migrations/* && git add resources/schema/*",
"seed": "php vendor/bin/phinx seed:run -c config/env/env.phinx.php -s ClientStatusSeeder -s UserRoleSeeder -s AdminUserSeeder",
"seed:extended": "php vendor/bin/phinx seed:run -c config/env/env.phinx.php"
}
}