-
Notifications
You must be signed in to change notification settings - Fork 5
/
composer.json
88 lines (88 loc) · 2.48 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
{
"name": "php-school/workshop-manager",
"description": "A tool to help find and install PHP School workshops",
"license": "MIT",
"authors": [
{
"name": "Michael Woodward",
"email": "[email protected]"
},
{
"name": "Aydin Hassan",
"email": "[email protected]"
}
],
"require": {
"php": "^7.2|^8.0",
"php-di/php-di": "^6",
"composer/composer": "^2.2",
"mnapoli/silly-php-di": "^1.0",
"symfony/console": "^4.0 | ^5.0 | ^6.0",
"symfony/filesystem": "^4.0 | ^5.0 | ^6.0",
"mnapoli/silly": "^1.7",
"tm/tooly-composer-script": "^1.0",
"padraic/phar-updater": "^1.0",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",
"ext-zip": "*",
"php-http/discovery": "^1.12",
"php-http/guzzle7-adapter": "^0.1.1",
"php-http/client-common": "^2.3",
"guzzlehttp/psr7": "^1.7 | ^2.4",
"http-interop/http-factory-guzzle": "^1.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.4",
"phpunit/phpunit": "^8 | ^9",
"yoast/phpunit-polyfills": "^1.0",
"phpstan/phpstan": "^1.9",
"php-http/mock-client": "^1.4"
},
"autoload" : {
"psr-4" : {
"PhpSchool\\WorkshopManager\\": "src"
},
"files": [
"src/functions.php"
]
},
"autoload-dev": {
"psr-4": {
"PhpSchool\\WorkshopManagerTest\\": "test"
}
},
"bin": [
"bin/workshop-manager"
],
"scripts": {
"cs": [
"phpcs --standard=PSR12 src",
"phpcs --standard=PSR12 test"
],
"cs-fix" : [
"phpcbf src --standard=PSR12 --encoding=UTF-8",
"phpcbf test --standard=PSR12 --encoding=UTF-8"
],
"phar": [
"@composer update --no-dev -o",
"box.phar build -vv"
],
"test": [
"phpunit",
"@static",
"@cs"
],
"static": "phpstan --ansi analyse --level max src",
"post-install-cmd": "Tooly\\ScriptHandler::installPharTools",
"post-update-cmd": "Tooly\\ScriptHandler::installPharTools"
},
"extra": {
"tools": {
"box": {
"url": "https://github.com/box-project/box2/releases/download/2.7.2/box-2.7.2.phar",
"only-dev": false
}
}
}
}