-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathcomposer-dist.json
More file actions
30 lines (29 loc) · 1.05 KB
/
composer-dist.json
File metadata and controls
30 lines (29 loc) · 1.05 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
{
"name": "vendor-name/app-name",
"description": "Description of your web app goes here.",
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=8.2.0",
"rotexsoft/slim-skeleton-mvc-tools": "7.2.*"
},
"require-dev": {
},
"autoload": {
"classmap": [ "src/", "tests/", "vendor/slim/" ]
},
"scripts": {
"generate-framework-files": [
"@php -r \" echo 'Generating framework files...' . PHP_EOL; \"",
"@php -r \"file_exists('./public/.htaccess') || copy('./public/.htaccess.dist', './public/.htaccess');\"",
"@php -r \"file_exists('./config/env.php') || copy('./config/env-dist.php', './config/env.php');\"",
"@php -r \"file_exists('./config/app-settings.php') || copy('./config/app-settings-dist.php', './config/app-settings.php');\""
],
"post-install-cmd": [
"@composer generate-framework-files"
],
"post-update-cmd": [
"@composer generate-framework-files"
]
}
}