-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
138 lines (138 loc) · 4.46 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "vaizard/glued",
"description": "A Slim4 router/frontend for API backends. Uses PHP-DI, Nyholm PSR7 and Twig.",
"license": "MIT",
"authors": [
{
"name": "Pavel Stratil",
"email": "[email protected]"
}
],
"require": {
"php": "^8.3",
"ext-apcu": "*",
"ext-bcmath": "*",
"ext-curl": "*",
"ext-gd": "*",
"ext-gmp": "*",
"ext-imap": "*",
"ext-json": "*",
"ext-mbstring": "*",
"ext-mysqli": "*",
"ext-readline": "*",
"ext-soap": "*",
"ext-xml": "*",
"ext-zip": "*",
"casbin/casbin": "^3",
"casbin/database-adapter": "^1.8",
"facile-it/php-openid-client": "dev-master",
"geocoder-php/geoip2-provider": "^4",
"grasmash/yaml-expander": "^3",
"http-interop/http-factory-guzzle": "^1",
"league/flysystem": "^3",
"linfo/linfo": "^4",
"mohammad-waleed/keycloak-admin-client": "^0",
"monolog/monolog": "^3",
"nesbot/carbon": "^2",
"nyholm/psr7": "^1",
"nyholm/psr7-server": "*",
"paragonie/csp-builder": "^3",
"php-di/php-di": "^7",
"php-http/guzzle7-adapter": "^1",
"psr/http-message": "^1",
"psr/log": "^3",
"phpfastcache/phpfastcache": "^9",
"ramsey/uuid": "^4",
"respect/validation": "^2",
"sabre/event": "^6",
"selective/transformer": "^1",
"slim/http": "^1",
"slim/slim": "^4",
"symfony/config": "^6",
"symfony/mailer": "^6",
"symfony/yaml": "^6",
"thingengineer/mysqli-database-class": "dev-master#42116651a88b57b03fd967bc57dd38f5094565d9",
"vaizard/glued-lib": "dev-main",
"vlucas/phpdotenv": "^5",
"voku/anti-xss": "^4",
"web-token/jwt-framework": "^3",
"zeuxisoo/slim-whoops": "^0.7",
"symfony/monolog-bundle": "^3.8",
"symfony/console": "^6.4"
},
"require-dev": {
"ergebnis/composer-normalize": "^2"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/ThingEngineer/PHP-MySQLi-Database-Class",
"no-api": true
}
],
"minimum-stability": "beta",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Glued\\": "glued/"
},
"files": []
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"php-http/discovery": true
}
},
"scripts": {
"post-install-cmd": [
"composer migrate",
"composer configure || echo \"[FAIL] Failed to configure glued. Please make sure all env variables are set. Rerun composer configure.\"",
"echo \"Run 'composer nginx' manually to pick restart this microservice\""
],
"post-update-cmd": [
"composer migrate",
"composer configure || echo \"[FAIL] Failed to configure glued. Please make sure all env variables are set. Rerun composer configure.\"",
"echo \"Run 'composer nginx' manually to pick restart this microservice\""
],
"backup": [
"vendor/vaizard/glued-lib/src/Scripts/backup.sh"
],
"configure": [
"vendor/vaizard/glued-lib/src/Scripts/initpaths.sh",
"vendor/vaizard/glued-lib/src/Scripts/rebuild-datacache.sh",
"Glued\\Lib\\ComposerHooks::configTool"
],
"genkey": [
"Glued\\Lib\\ComposerHooks::genKey"
],
"getenv": [
"Glued\\Lib\\ComposerHooks::getEnv"
],
"swagger-update": [
"wget https://unpkg.com/swagger-ui-dist@latest/swagger-ui.css -O public/openapi-ui/swagger-ui.css",
"wget https://unpkg.com/swagger-ui-dist@latest/swagger-ui-bundle.js -O public/openapi-ui/swagger-ui-bundle.js",
"wget https://unpkg.com/swagger-ui-dist@latest/swagger-ui-standalone-preset.js -O public/openapi-ui/swagger-ui-standalone-preset.js"
],
"migrate": [
"vendor/vaizard/glued-lib/src/Scripts/migrate.sh"
],
"nginx": [
"patch -s --reject-file=/dev/null -p1 vendor/monolog/monolog/src/Monolog/Logger.php < vendor/vaizard/glued-lib/src/Patches/Logger.patch",
"vendor/vaizard/glued-lib/src/Scripts/nginx.sh",
"Glued\\Lib\\ComposerHooks::generateNginx",
"vendor/vaizard/glued-lib/src/Scripts/nginx-reload.sh",
"vendor/vaizard/glued-lib/src/Scripts/php-fpm.sh",
"Glued\\Lib\\ComposerHooks::generatePHPFPM",
"vendor/vaizard/glued-lib/src/Scripts/php-fpm-reload.sh",
"patch -Rs --reject-file=/dev/null -p1 vendor/monolog/monolog/src/Monolog/Logger.php < vendor/vaizard/glued-lib/src/Patches/Logger.patch"
],
"react": [
"glued/Config/React/deploy.sh"
],
"settings": [
"Glued\\Lib\\ComposerHooks::PrintSettings"
],
"start": "php -S localhost:8080 -t public"
}
}