-
Notifications
You must be signed in to change notification settings - Fork 5
/
composer.json
62 lines (59 loc) · 1.97 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": "lagan/lagan",
"type": "project",
"description": "Lagan lets you create flexible content objects with a simple class, and manage them with a web interface.",
"keywords": ["cms","content", "backend","slim","redbean","twig","validation"],
"license": "MIT",
"authors": [
{
"name": "Lútsen Stellingwerff",
"email": "lutsenstellingwerff@gmail.com",
"homepage": "http://lutsen.net",
"role": "Developer"
}
],
"require-dev": {
"phpunit/phpunit": "5.5.*"
},
"require": {
"php": ">=5.5.0",
"gabordemooij/redbean": "^4.0",
"slim/slim": "^3.0",
"slim/twig-view": "^2.0",
"slim/flash": "^0.2",
"twig/twig": "^1.0",
"tuupola/slim-basic-auth": "^2.0",
"slim/csrf": "^0.8",
"lagan/core": "^1.0",
"lagan/property-fileselect": "^1.0",
"lagan/property-hashid": "^1.0",
"lagan/property-manytomany": "^1.0",
"lagan/property-manytoone": "^1.0",
"lagan/property-onetomany": "^1.0",
"lagan/property-position": "^1.0",
"lagan/property-slug": "^1.0",
"lagan/property-string": "^1.0",
"lagan/property-upload": "^1.0",
"lagan/template-fileselect": "^1.0",
"lagan/template-manytoone": "^1.0",
"lagan/template-text": "^1.0",
"lagan/template-textarea": "^1.0",
"lagan/template-tomany": "^1.0",
"lagan/template-upload": "^1.0"
},
"scripts": {
"post-update-cmd": [
"php -r \"// Create RedBean rb.php file\"",
"php -r \"chdir('vendor/gabordemooij/redbean'); require('replica2.php');\""
],
"post-create-project-cmd": [
"php -r \"// Create cache directory\"",
"php -r \"mkdir('cache', 0755);\"",
"php -r \"// Rename config file\"",
"php -r \"rename('config_example.php', 'config.php');\"",
"php -r \"// Setting ROOT_PATH in config file\"",
"php -r \"file_put_contents('config.php', str_replace('define(\\'ROOT_PATH\\', \\'\\')', 'define(\\'ROOT_PATH\\', \\''.__DIR__.'\\')', file_get_contents('config.php') ) );\"",
"php -r \"echo PHP_EOL . ' Thank you for installing Lagan! ' . PHP_EOL . PHP_EOL;\""
]
}
}