-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcomposer.json
executable file
·62 lines (62 loc) · 2.06 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
{
"name": "lightmvc/lightmvcskel",
"description": "The LightMVC Framework Skeleton Application that can run on Swoole.",
"license": "Apache-2.0",
"keywords": [
"lightmvc",
"ascmvc",
"framework",
"application",
"mvc",
"middleware",
"swoole"
],
"homepage": "https://github.com/lightmvc/lightmvcskel",
"authors": [
{
"name": "Foreach Code Factory",
"email": "[email protected]"
}
],
"require": {
"php": ">=8.0 <8.3",
"lightmvc/ascmvc": "5.0.1"
},
"require-dev": {
"linuxforphp/linuxforcomposer": "^2.0"
},
"autoload": {
"psr-4": {
"Application\\Models\\": "models/Application/Models",
"Application\\Log\\": "models/Application/Log",
"Application\\Middleware\\": "middleware/Application/Middleware",
"Application\\Commands\\": "controllers/Application/Commands",
"Application\\Controllers\\": "controllers/Application/Controllers",
"Application\\Events\\": "controllers/Application/Events",
"Application\\Policies\\": "controllers/Application/Policies",
"Application\\ReadModels\\": "controllers/Application/ReadModels",
"Specialmodule\\Controllers\\": "controllers/Specialmodule/Controllers"
}
},
"autoload-dev": {
"psr-4": {
"LightMvcTest\\": "test/"
}
},
"scripts": {
"run-swoole": "@php public/swoole.php 127.0.0.1 9501",
"check": [
"@cs",
"@test"
],
"cs": "phpcs",
"cs-fix": "phpcbf",
"test": "phpunit",
"pre-update-cmd": [
"php -r \"if (file_exists('vendor/composer/linuxforcomposer.pid')) {copy('vendor/composer/linuxforcomposer.pid', 'linuxforcomposer.pid');}\""
],
"post-update-cmd": [
"php -r \"if (file_exists('linuxforcomposer.pid')) {rename('linuxforcomposer.pid', 'vendor/composer/linuxforcomposer.pid');}\""
]
}
}