-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
72 lines (72 loc) · 1.75 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
{
"name": "liaoaoyang/swan",
"description": "Simple WeChat Alert Notifier.",
"keywords": [
"framework",
"laravel"
],
"license": "MIT",
"type": "project",
"require": {
"php": ">=7.0",
"laravel/framework": "5.5.*",
"predis/predis": "1.1.1",
"encore/laravel-admin": "1.5.*",
"laravel-admin-ext/log-viewer": "^1.0",
"jenssegers/mongodb": "^3.2",
"laravel/tinker": "~1.0",
"league/commonmark": "^0.15.6",
"overtrue/laravel-lang": "~3.0",
"overtrue/wechat": "^3.3",
"ext-json": "*",
"ext-openssl": "*"
},
"require-dev": {
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~5.7"
},
"autoload": {
"classmap": [
"database"
],
"psr-4": {
"App\\": "app/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"post-root-package-install": [
"php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"php artisan key:generate"
],
"post-install-cmd": [
"Illuminate\\Foundation\\ComposerScripts::postInstall",
"php artisan optimize"
],
"post-update-cmd": [
"Illuminate\\Foundation\\ComposerScripts::postUpdate",
"php artisan optimize"
],
"detect-composer-json": [
"php -r 'if(extension_loaded(\"mongodb\")){printf(\"MongoDB\\n\");copy(\"composer.mongodb.json\", \"composer.json\");}else{printf(\"MySQL\n\");copy(\"composer.mysql.json\", \"composer.json\");}'"
]
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"optimize-autoloader": true
},
"repositories": {
"packagist": {
"type": "composer",
"url": "https://packagist.phpcomposer.com"
}
}
}