-
Notifications
You must be signed in to change notification settings - Fork 5
/
composer.json
57 lines (57 loc) · 1.77 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
{
"name": "opulence/project",
"description": "An empty project that uses the Opulence framework",
"authors": [
{
"name": "David Young",
"email": "dbyoung2@gmail.com",
"role": "Architect"
}
],
"type": "project",
"license": "MIT",
"autoload": {
"psr-4": {
"Project\\": [
"src",
"tests/src"
]
}
},
"require": {
"php": "^7.3 || ^8.0",
"monolog/monolog": "1.23.0",
"opulence/opulence": "1.2.*"
},
"require-dev": {
"phpunit/phpunit": "~9.0"
},
"extra": {
"branch-alias": {
"dev-1.2": "1.2.x-dev"
}
},
"minimum-stability": "dev",
"scripts": {
"post-root-package-install": [
"php -r \"file_exists('config/environment/.env.app.php') || copy('config/environment/.env.example.php', 'config/environment/.env.app.php');\""
],
"post-create-project-cmd": [
"php apex encryption:generatekey",
"php -r \"echo 'Important: make ' . __DIR__ . DIRECTORY_SEPARATOR . 'tmp writable' . PHP_EOL;\""
],
"post-install-cmd": [
"php -r \"shell_exec((file_exists(getcwd() . '/composer.phar') ? PHP_BINARY . ' composer.phar' : 'composer') . ' dump-autoload -o');\"",
"php -r \"file_exists('config/environment/.env.app.php') || copy('config/environment/.env.example.php', 'config/environment/.env.app.php');\"",
"php apex framework:flushcache"
],
"post-update-cmd": [
"php -r \"shell_exec((file_exists(getcwd() . '/composer.phar') ? PHP_BINARY . ' composer.phar' : 'composer') . ' dump-autoload -o');\"",
"php -r \"file_exists('config/environment/.env.app.php') || copy('config/environment/.env.example.php', 'config/environment/.env.app.php');\"",
"php apex framework:flushcache"
]
},
"config": {
"prefer-install": "dist"
}
}