-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
83 lines (83 loc) · 2.59 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
81
82
83
{
"name": "aphiria/app",
"description": "The Aphiria skeleton application",
"keywords": [
"PHP",
"skeleton",
"API"
],
"authors": [
{
"name": "David Young",
"email": "[email protected]",
"role": "Architect"
}
],
"license": "MIT",
"autoload": {
"psr-4": {
"App\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"App\\Tests\\": "tests"
}
},
"require": {
"aphiria/aphiria": "1.x-dev",
"ext-mbstring": "*",
"ext-pdo": "*",
"ext-sqlite3": "*",
"php": "^8.4",
"robmorgan/phinx": "0.x-dev",
"symfony/dotenv": "^7.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.2",
"phpunit/phpunit": "^11.5-dev",
"vimeo/psalm": "dev-master"
},
"scripts": {
"phpcs-test": "@phpcs-fix --dry-run",
"phpcs-fix": "php-cs-fixer fix --config=.php-cs-fixer.dist.php -v --diff",
"phpunit": "XDEBUG_MODE=coverage php vendor/phpunit/phpunit/phpunit --coverage-clover=./.coverage/clover.xml",
"post-root-package-install": [
"php -r \"file_exists('.env') || copy('.env.dist', '.env');\""
],
"post-create-project-cmd": [
"php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
"php -r \"echo 'Important: make ' . __DIR__ . DIRECTORY_SEPARATOR . 'tmp writable' . PHP_EOL;\"",
"php aphiria user:generate-default-credentials"
],
"post-install-cmd": [
"php -r \"shell_exec((file_exists(getcwd() . '/composer.phar') ? PHP_BINARY . ' composer.phar' : 'composer') . ' dump-autoload -o');\"",
"php -r \"file_exists('.env') || copy('.env.dist', '.env');\""
],
"post-update-cmd": [
"php -r \"shell_exec((file_exists(getcwd() . '/composer.phar') ? PHP_BINARY . ' composer.phar' : 'composer') . ' dump-autoload -o');\"",
"php -r \"file_exists('.env') || copy('.env.dist', '.env');\""
],
"psalm": [
"Composer\\Config::disableProcessTimeout",
"php vendor/vimeo/psalm/psalm"
],
"test": [
"@phpunit",
"@phpcs-test",
"@psalm"
]
},
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"prefer-stable": true,
"minimum-stability": "dev"
}