-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
123 lines (120 loc) · 4.29 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "faktiva/php-admin-tk",
"description": "Simple wrapper around a bounce of tools intended to be installed on a web server vhost for administrative purposes",
"homepage": "https://github.com/faktiva/php-admin-tk",
"license": "MIT",
"type": "project",
"authors": [
{
"name": "Emiliano 'AlberT' Gabrielli",
"email": "albert@faktiva.com",
"homepage": "http://faktiva.com",
"role": "Developer"
}
],
"support": {
"issues": "https://github.com/faktiva/php-admin-tk/issues",
"source": "https://github.com/faktiva/php-admin-tk/releases/latest",
"email": "support@faktiva.com"
},
"minimum-stability": "stable",
"config": {
"bin-dir": "bin",
"github-protocols": ["https"],
"archive-format": "zip",
"preferred-install": "dist",
"optimize-autoloader": true
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^1.12",
"sensiolabs/security-checker": "^4.0",
"symfony/var-dumper": "^2.0 || ^3.0",
"symfony/debug": "^2.0 || ^3.0"
},
"require": {
"php": ">=5.4.0",
"mnsami/composer-custom-directory-installer": "^1.0",
"amnuts/phperror-gui": "^1.0",
"amnuts/opcache-gui": "^2.2",
"faktiva/php-redis-admin": "^1.2.3",
"vrana/adminer": "^4.2",
"hgschmie/phpmemcacheadmin": "^1.2.2"
},
"repositories": [
{
"type": "package",
"package": {
"name": "hgschmie/phpmemcacheadmin",
"version": "1.2.2",
"source": {
"url": "https://github.com/hgschmie/phpmemcacheadmin",
"type": "git",
"reference": "7f935bffac60dba6a02e5645116e6628a60108cd"
}
}
},
{
"type": "package",
"package": {
"name": "vrana/adminer",
"version": "4.2.5",
"dist": {
"url": "https://www.adminer.org/static/download/4.2.5/adminer-4.2.5.php",
"type": "file"
},
"source": {
"url": "https://github.com/vrana/adminer",
"type": "git",
"reference": "v4.2.5"
}
}
}
],
"extra": {
"installer-paths": {
"./web/tools/OPcache_GUI": ["amnuts/opcache-gui"],
"./web/tools/PHP_error_log": ["amnuts/phperror-gui"]
}
},
"scripts": {
"chk-cs": [
"php-cs-fixer -vvv fix --dry-run"
],
"chk-sec": [
"security-checker -vv security:check"
],
"check": [
"@chk-cs",
"@chk-sec"
],
"fix-cs": [
"php-cs-fixer -vvv fix"
],
"post-install-cmd": [
"php -r '@mkdir(__DIR__.\"/web/tools\", 0777, true);'",
"@phpinfo",
"@errorgui",
"@adminer",
"@redisadmin",
"@memcacheadmin"
],
"phpinfo": [
"php -r 'file_put_contents(__DIR__.\"/web/tools/PHP_info.php\", \"<?php\n\nphpinfo();\n\");'"
],
"errorgui": [
"php -r 'chdir(__DIR__.\"/web/tools/PHP_error_log\"); @symlink(\"phperror-gui.php\", \"index.php\");'"
],
"adminer": [
"php -r 'chdir(__DIR__.\"/web/tools\"); @symlink(array_shift(glob(\"../../vendor/vrana/adminer/adminer*.php\")), \"Adminer.php\");'",
"php -r '$f=__DIR__.\"/web/tools/Adminer.php\"; $c=file_get_contents($f); $c=preg_replace(\"#(header\\(\\\"X-Frame-Options: deny\\\"\\);)#\", \"\", $c); file_put_contents($f, $c);'"
],
"redisadmin": [
"@composer --no-dev install -d ./vendor/faktiva/php-redis-admin",
"php -r 'copy(__DIR__.\"/app/config/php-redis-admin.config.php\", __DIR__.\"/vendor/faktiva/php-redis-admin/app/config/config.php\");'",
"php -r 'chdir(__DIR__.\"/web/tools\"); @symlink(\"../../vendor/faktiva/php-redis-admin/web/\", \"Redis_admin\");'"
],
"memcacheadmin": [
"php -r 'chdir(__DIR__.\"/web/tools\"); @symlink(\"../../vendor/hgschmie/phpmemcacheadmin/\", \"phpMemcachedAdmin\");'"
]
}
}