-
Notifications
You must be signed in to change notification settings - Fork 5
/
composer.json
89 lines (89 loc) · 3.76 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
{
"name": "xaraya/core",
"description": "Xaraya Core web development framework",
"type": "project",
"require-dev": {
"middlewares/utils": "^4.0",
"nikic/fast-route": "2.0.0-beta1",
"nyholm/psr7": "^1.8",
"nyholm/psr7-server": "^1.1",
"phpdocumentor/reflection": "^6.0",
"webonyx/graphql-php": "^15.18",
"xaraya/modules": "^2.5"
},
"suggest": {
"phpstan/phpstan": "PHP Static Analysis Tool - discover bugs in your code without running it",
"phpunit/phpunit": "The PHP Unit Testing framework",
"doctrine/cache": "Use supported Doctrine CacheProviders for caching",
"doctrine/dbal": "Experiment with external database (Doctrine DBAL)",
"mongodb/mongodb": "Experiment with external database (MongoDB)",
"phpdocumentor/reflection": "Required to use bermuda_cleanup.php in developer/tools",
"xaraya/modules": "Experiment with adding modules via composer cli",
"xaraya/properties": "Experiment with adding properties via composer cli",
"xaraya/twig": "Use Twig template engine with Xaraya"
},
"license": "GPL-2.0-or-later",
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"preferred-install": {
"xaraya/properties": "source"
},
"allow-plugins": {
"xaraya/*": true,
"symfony/flex": false,
"symfony/runtime": false
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"classmap": [
"html/bootstrap.php",
"html/lib/",
"html/code/"
],
"files": [
"html/var/layout.system.php"
],
"exclude-from-classmap": [
"html/lib/xaraya/legacy/",
"vendor/xaraya/properties/"
]
},
"scripts": {
"xar-modules-install": "xarInstallComposer::createModuleSymLinks",
"xar-modules-list": "xarInstallComposer::showModules",
"xar-modules-uninstall": "xarInstallComposer::removeModuleSymLinks",
"xar-properties-install": "xarInstallComposer::createPropertySymLinks",
"xar-properties-list": "xarInstallComposer::showProperties",
"xar-properties-uninstall": "xarInstallComposer::removePropertySymLinks",
"xar-properties-update": "cd vendor/xaraya/properties; git submodule update --init; echo 'done'",
"xar-twig-install": "composer require xaraya/twig",
"xar-twig-uninstall": "composer remove xaraya/twig",
"xar-start-server": [
"Composer\\Config::disableProcessTimeout",
"php -S 0.0.0.0:8080 -t html"
]
},
"scripts-descriptions": {
"xar-modules-install": "Create symlinks to Xaraya modules via composer",
"xar-modules-list": "List Xaraya modules available via composer",
"xar-modules-uninstall": "Remove symlinks to Xaraya modules via composer",
"xar-properties-install": "Create symlinks to Xaraya properties via composer",
"xar-properties-list": "List Xaraya properties available via composer",
"xar-properties-uninstall": "Remove symlinks to Xaraya properties via composer",
"xar-properties-update": "Update Xaraya properties from git submodules",
"xar-twig-install": "Use Twig templates with Xaraya",
"xar-twig-uninstall": "Remove Twig template engine",
"xar-start-server": "Start local PHP server to browse Xaraya site"
},
"extra": {
"installer-paths": {
"html/code/modules/{name}/": ["type:xaraya-module"],
"html/themes/{name}/": ["type:xaraya-theme"],
"html/code/blocks/{name}/": ["type:xaraya-block"],
"html/code/properties/{name}/": ["type:xaraya-property"]
}
}
}