-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
47 lines (47 loc) · 1.33 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
{
"name": "slim/test",
"description": "The Slim Framework.",
"version": "1.0.0",
"require": {
"slim/slim": "4.*",
"slim/psr7": "^1.6",
"nyholm/psr7": "^1.8",
"nyholm/psr7-server": "^1.0",
"guzzlehttp/psr7": "^2",
"slim/twig-view": "^3.3",
"kint-php/kint": "^5.0",
"php-di/slim-bridge": "^3.4",
"illuminate/database": "^10.17",
"vlucas/phpdotenv": "^5.5",
"slim/php-view": "^3.2",
"zeuxisoo/slim-whoops": "^0.7.3"
},
"autoload": {
"psr-4": {
"App\\": "app/"
}
},
"scripts": {
"serve": [
"Composer\\Config::disableProcessTimeout",
"@php -S 0.0.0.0:8000 -t public/"
],
"env-init": [
"@php -r \"file_exists('tmp') || mkdir('tmp');\"",
"@php -r \"file_exists('tmp/default.txt') || touch('tmp/default.txt');\"",
"@php -r \"file_exists('tmp/.env.run') || copy('.env.example', 'tmp/.env.run');\""
],
"env-dev": [
"@php -r \"copy('.env.dev', 'tmp/.env.run');\""
],
"env-prod": [
"@php -r \"copy('.env.prod', 'tmp/.env.run');\""
],
"post-install-cmd": [
"@env-init"
],
"post-update-cmd": [
"@env-init"
]
}
}