-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
74 lines (74 loc) · 2.44 KB
/
composer.json
File metadata and controls
74 lines (74 loc) · 2.44 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
70
71
72
73
74
{
"name": "faslatam/haju",
"description": "Sistema Automatizado para el Registro y Control del Departamento de Estadistica de Salud del Hospital Antonio José Uzcátegui",
"license": "proprietary",
"require": {
"php": "^8.2",
"ext-pdo_mysql": "*",
"ext-pdo_sqlite": "*",
"bjeavons/zxcvbn-php": "^1.4",
"flightphp/container": "^1.3",
"flightphp/core": "^3.15",
"giggsey/libphonenumber-for-php-lite": "^9.0",
"jenssegers/date": "^4.0",
"leafs/session": "^4.0",
"phar-io/manifest": "^2.0",
"symfony/polyfill-php84": "^1.32"
},
"autoload": {
"psr-4": {
"HAJU\\": ["app", "src"]
},
"files": ["app/helpers.php"]
},
"autoload-dev": {
"psr-4": {
"HAJU\\Tests\\": "tests"
}
},
"scripts": {
"pre-install-cmd": "composer run post-create-project-cmd",
"pre-update-cmd": "composer run post-create-project-cmd",
"serve": [
"Composer\\Config::disableProcessTimeout",
"php -S 0.0.0.0:61001"
],
"post-create-project-cmd": [
"php -r \"if (!file_exists('.env.php')) copy('.env.dist.php', '.env.php');\"",
"php -r \"if (!file_exists('phpcs.xml')) copy('phpcs.xml.dist', 'phpcs.xml');\"",
"php -r \"if (!file_exists('phpstan.neon')) copy('phpstan.dist.neon', 'phpstan.neon');\"",
"php -r \"if (!file_exists('phpunit.xml')) copy('phpunit.xml.dist', 'phpunit.xml');\""
],
"ci": [
"composer check-platform-reqs --no-ansi",
"phpcs --no-colors -n",
"phpunit --no-progress --colors=never",
"phpstan --no-progress --no-ansi --memory-limit=512M",
"rector --dry-run --no-progress-bar --no-ansi",
"phpmd app resources/views routes tests .env.dist.php .env.php index.php rector.php text phpmd.xml"
],
"migrate:fresh": "php app/commands/migrate-fresh.php",
"format": ["rector", "phpcbf"]
},
"require-dev": {
"guzzlehttp/guzzle": "^7.9",
"phpmd/phpmd": "^2.15",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^11.5",
"rector/rector": "^2.0",
"spaze/phpstan-disallowed-calls": "^4.5",
"squizlabs/php_codesniffer": "^3.13",
"staabm/phpstan-todo-by": "^0.2.0",
"symfony/var-dumper": "^7.3"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"phpstan/extension-installer": true
}
}
}