-
Notifications
You must be signed in to change notification settings - Fork 222
/
composer.json
112 lines (112 loc) · 4.16 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "overblog/graphql-bundle",
"type": "symfony-bundle",
"license": "MIT",
"description": "This bundle provides tools to build a GraphQL server in your Symfony App.",
"keywords": ["GraphQL","Relay"],
"authors": [
{
"name": "Overblog",
"homepage": "http://www.over-blog.com"
}
],
"autoload": {
"psr-4": {
"Overblog\\GraphQLBundle\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Overblog\\GraphQLBundle\\Tests\\": "tests/"
}
},
"config": {
"bin-dir": "bin",
"sort-packages": true,
"allow-plugins": {
"phpstan/extension-installer": true,
"composer/package-versions-deprecated": true
}
},
"require": {
"php": "^8.0",
"ext-json": "*",
"murtukov/php-code-generator": "^0.1.5",
"phpdocumentor/reflection-docblock": "^5.2",
"phpdocumentor/type-resolver": "^1.6.1",
"psr/log": "^1.0 || ^2.0 || ^3.0",
"symfony/config": "^5.4 || ^6.0 || ^7.0",
"symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0",
"symfony/event-dispatcher": "^5.4 || ^6.0 || ^7.0",
"symfony/expression-language": "^5.4 || ^6.0 || ^7.0",
"symfony/framework-bundle": "^5.4 || ^6.0 || ^7.0",
"symfony/http-foundation": "^5.4 || ^6.0 || ^7.0",
"symfony/http-kernel": "^5.4 || ^6.0 || ^7.0",
"symfony/options-resolver": "^5.4 || ^6.0 || ^7.0",
"symfony/property-access": "^5.4 || ^6.0 || ^7.0",
"webonyx/graphql-php": "^15.4"
},
"suggest": {
"nelmio/cors-bundle": "For more flexibility when using CORS prefight",
"overblog/graphiql-bundle": "If you want to use graphiQL.",
"react/promise": "To use ReactPHP promise adapter",
"symfony/translation": "If you want validation error messages to be translated."
},
"require-dev": {
"doctrine/annotations": "^1.13",
"doctrine/orm": "^2.5",
"monolog/monolog": "^2.8.0 || ^3.0",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "1.8.4",
"phpstan/phpstan-phpunit": "^1.0",
"phpstan/phpstan-symfony": "^1.0",
"phpunit/phpunit": "^9.5.10",
"react/promise": "^2.5",
"symfony/asset": "^5.4 || ^6.0 || ^7.0",
"symfony/browser-kit": "^5.4 || ^6.0 || ^7.0",
"symfony/css-selector": "^5.4 || ^6.0 || ^7.0",
"symfony/console": "^5.4 || ^6.0 || ^7.0",
"symfony/dom-crawler": "^5.4 || ^6.0 || ^7.0",
"symfony/finder": "^5.4 || ^6.0 || ^7.0",
"symfony/monolog-bundle": "^3.7",
"symfony/phpunit-bridge": "^6.0",
"symfony/process": "^5.4 || ^6.0 || ^7.0",
"symfony/routing": "^5.4 || ^6.0 || ^7.0",
"symfony/security-bundle": "^5.4 || ^6.0 || ^7.0",
"symfony/validator": "^5.4 || ^6.0 || ^7.0",
"symfony/var-dumper": "^5.4 || ^6.0 || ^7.0",
"symfony/yaml": "^5.4 || ^6.0 || ^7.0",
"twig/twig": "^2.10|^3.0"
},
"conflict": {
"react/promise": "<2.8"
},
"extra": {
"branch-alias": {
"dev-master": "1.1-dev"
}
},
"scripts": {
"test": "bin/phpunit --color=always --coverage-clover=build/logs/clover.xml",
"static-analysis": [
"phpstan analyse --ansi --memory-limit=1G"
],
"install-cs": "test -f php-cs-fixer.phar || wget https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases/download/v3.48.0/php-cs-fixer.phar -O php-cs-fixer.phar",
"fix-cs": [
"@install-cs",
"@php php-cs-fixer.phar fix --diff -v --allow-risky=yes --ansi"
],
"check-cs": [
"@install-cs",
"@php php-cs-fixer.phar fix --dry-run --diff -v --allow-risky=yes --ansi"
],
"code-quality": [
"rm composer.lock",
"@composer install --ansi",
"@static-analysis",
"@check-cs"
],
"docker-clean": "docker image rm $(docker image ls -qf reference=graphql-test)",
"docker": "docker build . -t graphql-test && docker image prune -f >/dev/null && docker run --rm graphql-test"
}
}