-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathcomposer.json
More file actions
74 lines (74 loc) · 2.26 KB
/
Copy pathcomposer.json
File metadata and controls
74 lines (74 loc) · 2.26 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": "flightphp/skeleton",
"description": "A Flight PHP framework skeleton app optimized for AI-assisted and human development",
"keywords": [
"microframework",
"rest",
"restapi",
"simple",
"easy",
"lite",
"boilerplate",
"skeleton",
"flightphp"
],
"homepage": "https://docs.flightphp.com",
"license": "MIT",
"authors": [
{
"name": "n0nag0n",
"email": "n0nag0n@sky-9.com",
"role": "lead"
}
],
"require": {
"php": "^7.4 || ^8.0",
"ext-json": "*",
"ext-pdo": "*",
"flightphp/core": "^3.18",
"flightphp/runway": "^1.2",
"flightphp/active-record": "^0.7",
"flightphp/session": "^0.3",
"level-2/dice": "^4.0",
"tracy/tracy": "^2.9",
"twig/twig": "^2.15 || ^3.0"
},
"require-dev": {
"flightphp/tracy-extensions": "^0.1 || ^0.2",
"phpstan/phpstan": "^1.12",
"phpunit/phpunit": "^9.6"
},
"autoload": {
"psr-4": {
"App\\": "app/"
},
"classmap": [
"app/commands/"
]
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"config": {
"process-timeout": 0,
"sort-packages": true
},
"scripts": {
"start": "@php -S localhost:8000 -t public",
"test": "phpunit",
"analyse": "phpstan analyse --memory-limit=512M",
"phpstan": "@analyse",
"check": [
"@test",
"@analyse"
],
"post-create-project-cmd": [
"@php -r \"if (!file_exists('app/config/config.php')) { copy('app/config/config_sample.php', 'app/config/config.php'); }\"",
"@php -r \"if (!file_exists('.env') && file_exists('.env.example')) { copy('.env.example', '.env'); }\"",
"@php -r \"if (!file_exists('.runway-config.json')) { file_put_contents('.runway-config.json', json_encode(['index_root' => 'public/index.php', 'app_root' => 'app/'], JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES) . PHP_EOL); }\"",
"@php -r \"@mkdir('app/cache', 0775, true); @mkdir('app/cache/twig', 0775, true); @mkdir('app/log', 0775, true);\""
]
}
}