Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
121 lines (121 loc) · 4.41 KB
/
Copy pathcomposer.json
File metadata and controls
121 lines (121 loc) · 4.41 KB
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
113
114
115
116
117
118
119
120
121
{
"name": "ayimdomnic/laragraph",
"description": "A modern, feature-rich GraphQL package for Laravel — types, queries, mutations, subscriptions, pagination, and more.",
"keywords": [
"laravel",
"graphql",
"api",
"schema",
"php"
],
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Odhiambo Dormnic",
"email": "ayimdomnic@gmail.com",
"homepage": "https://github.com/ayimdomnic"
}
],
"require": {
"php": "^8.2",
"ext-json": "*",
"illuminate/broadcasting": "^10.0|^11.0|^12.0|^13.0",
"illuminate/contracts": "^10.0|^11.0|^12.0|^13.0",
"illuminate/http": "^10.0|^11.0|^12.0|^13.0",
"illuminate/routing": "^10.0|^11.0|^12.0|^13.0",
"illuminate/support": "^10.0|^11.0|^12.0|^13.0",
"illuminate/validation": "^10.0|^11.0|^12.0|^13.0",
"overblog/dataloader-php": "^1.0",
"webonyx/graphql-php": "^15.0"
},
"require-dev": {
"larastan/larastan": "^3.10",
"laravel/pint": "^1.32",
"open-telemetry/api": "^1.0",
"open-telemetry/sdk": "^1.0",
"orchestra/testbench": "^8.0|^9.0|^10.0|^11.0",
"orchestra/workbench": "^8.0|^9.0|^10.0|^11.0",
"phpbench/phpbench": "^1.4",
"phpstan/phpstan": "^2.2",
"phpunit/phpunit": "^10.5|^11.5|^12.5",
"rector/rector": "^2.6"
},
"suggest": {
"open-telemetry/api": "Required only when laragraph.tracing.driver is set to 'otel'; the default 'apollo' driver needs nothing extra."
},
"autoload": {
"psr-4": {
"Ayimdomnic\\Laragraph\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Ayimdomnic\\Laragraph\\Tests\\": "tests/",
"Workbench\\App\\": "workbench/app/",
"Ayimdomnic\\Laragraph\\Benchmarks\\": "benchmarks/"
},
"exclude-from-classmap": [
"tests/PHPStan/data/"
]
},
"extra": {
"laravel": {
"providers": [
"Ayimdomnic\\Laragraph\\LaragraphServiceProvider"
],
"aliases": {
"Laragraph": "Ayimdomnic\\Laragraph\\Facades\\Laragraph"
}
},
"phpstan": {
"includes": [
"phpstan-extension.neon"
]
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"test": "vendor/bin/phpunit",
"test:unit": "vendor/bin/phpunit --testsuite Unit",
"test:feature": "vendor/bin/phpunit --testsuite Feature",
"test:filter": "vendor/bin/phpunit --filter",
"test:performance": "vendor/bin/phpunit --testsuite Performance",
"test:coverage": "@php -d xdebug.mode=coverage vendor/bin/phpunit --coverage-html build/coverage --coverage-clover build/coverage.xml",
"bench": "vendor/bin/phpbench run --report=laragraph",
"bench:baseline": "vendor/bin/phpbench run --report=laragraph --tag=baseline --store",
"bench:compare": "vendor/bin/phpbench run --report=laragraph --ref=baseline --assert=\"mode(variant.time.avg) <= mode(baseline.time.avg) +/- 15% and mode(variant.mem.peak) <= mode(baseline.mem.peak) +/- 10%\"",
"phpstan": "vendor/bin/phpstan analyse --memory-limit=1G",
"lint": "vendor/bin/pint --test",
"format": "vendor/bin/pint",
"refactor": "vendor/bin/rector process",
"refactor:check": "vendor/bin/rector process --dry-run",
"check": [
"@lint",
"@refactor:check",
"@phpstan",
"@test"
],
"serve": "vendor/bin/testbench serve",
"tinker": "vendor/bin/testbench tinker",
"workbench:build": "vendor/bin/testbench workbench:build --ansi"
},
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"preferred-install": "dist",
"allow-plugins": {
"php-http/discovery": true,
"tbachert/spi": true
}
},
"scripts-descriptions": {
"lint": "Check code style (PER-CS via Laravel Pint).",
"format": "Fix code style (PER-CS via Laravel Pint).",
"refactor": "Apply Rector upgrades.",
"refactor:check": "Preview Rector upgrades without writing.",
"phpstan": "Run static analysis.",
"check": "Run every quality gate: style, Rector, PHPStan and tests."
}
}