-
Notifications
You must be signed in to change notification settings - Fork 8
/
composer.json
79 lines (79 loc) · 3.88 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
{
"name": "rotexsoft/slim-skeleton-mvc-app",
"description": "This is a template mvc web-application (powered by SlimPHP 4), that can be extended to build more complex web applications.",
"license": "BSD-3-Clause",
"type": "project",
"keywords": [
"mvc",
"framework",
"slim-framework",
"slim",
"skeleton",
"slim-skeleton",
"slim-mvc",
"slim 4",
"slimphp 4",
"slim4",
"slimphp4",
"slim-4",
"slimphp-4",
"php"
],
"homepage": "https://github.com/rotexsoft/slim-skeleton-mvc-app",
"authors": [
{
"name": "Rotimi Adegbamigbe",
"email": "[email protected]",
"homepage": "https://github.com/rotexdegba",
"role": "Developer"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=8.1.0",
"rotexsoft/slim-skeleton-mvc-tools": "dev-master"
},
"require-dev": {
"phpunit/phpunit": "^10.0",
"rector/rector": "^1.0",
"guzzlehttp/guzzle": "^7.8"
},
"autoload": {
"classmap": [ "src/", "tests/", "vendor/slim/" ]
},
"scripts": {
"test": [
"Composer\\Config::disableProcessTimeout",
"vendor/bin/phpunit --coverage-text"
],
"post-create-project-cmd": [
"SMVC_PostComposerCreateHandler::exec",
"php -r \" unlink('./src/smvc-tools/post-composer-create-project.php'); \" ",
"php -r \" unlink('./src/smvc-tools/.gitkeep'); \" ",
"php -r \" rmdir('./src/smvc-tools'); \" ",
"@composer update -o --no-dev"
],
"post-install-cmd": [
"@php -r \"file_exists('./config/env.php') || copy('./config/env-dist.php', './config/env.php');\"",
"@php -r \"file_exists('./config/routes-and-middlewares.php') || copy('./config/routes-and-middlewares-dist.php', './config/routes-and-middlewares.php');\"",
"@php -r \"file_exists('./config/ini-settings.php') || copy('./config/ini-settings-dist.php', './config/ini-settings.php');\"",
"@php -r \"file_exists('./config/dependencies.php') || copy('./config/dependencies-dist.php', './config/dependencies.php');\"",
"@php -r \"file_exists('./config/app-settings.php') || copy('./config/app-settings-dist.php', './config/app-settings.php');\"",
"@php -r \"file_exists('./public/index.php') || copy('./public/index-dist.php', './public/index.php');\""
],
"post-update-cmd": [
"@php -r \"file_exists('./config/env.php') || copy('./config/env-dist.php', './config/env.php');\"",
"@php -r \"file_exists('./config/routes-and-middlewares.php') || copy('./config/routes-and-middlewares-dist.php', './config/routes-and-middlewares.php');\"",
"@php -r \"file_exists('./config/ini-settings.php') || copy('./config/ini-settings-dist.php', './config/ini-settings.php');\"",
"@php -r \"file_exists('./config/dependencies.php') || copy('./config/dependencies-dist.php', './config/dependencies.php');\"",
"@php -r \"file_exists('./config/app-settings.php') || copy('./config/app-settings-dist.php', './config/app-settings.php');\"",
"@php -r \"file_exists('./public/index.php') || copy('./public/index-dist.php', './public/index.php');\""
]
},
"suggest": {
"rotexsoft/leanorm": "An efficient light-weight ORM for database access. See http://rotexsoft.github.io/leanorm/",
"rotexsoft/versatile-acl": "A simple, highly flexible and customizable access control package for PHP applications. See https://github.com/rotexsoft/versatile-acl",
"rotexsoft/versatile-collections": "A collections package for various use cases (supports strict typing). See https://github.com/rotexsoft/versatile-collections"
}
}