-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
85 lines (85 loc) · 2.98 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
{
"name": "wrkflow/larastrict",
"type": "project",
"description": "Package to improve Laravel framework with features to support more strict typed Laravel.",
"keywords": ["framework", "laravel", "php", "strictphp", "strict"],
"license": "MIT",
"homepage": "https://github.com/wrk-flow/larastrict",
"authors": [
{
"name": "Martin Kluska",
"email": "[email protected]"
}
],
"require": {
"php": ">=8.1",
"h4kuna/serialize-polyfill": "^0.2.5",
"laravel/framework": "^9",
"psr/log": "^2 | ^3",
"psr/simple-cache": "^3.0"
},
"require-dev": {
"ext-pdo": "*",
"ext-sqlite3": "*",
"mockery/mockery": "^1.5.0",
"nette/php-generator": "v4.0.5",
"nikic/php-parser": "v4.15.2",
"nunomaduro/larastan": "2.2.9",
"orchestra/testbench": "^v7.13.0",
"phpstan/phpdoc-parser": "^1.13",
"phpstan/phpstan": "1.9.4",
"phpstan/phpstan-deprecation-rules": "^1.0.0",
"phpstan/phpstan-mockery": "^1.1.0",
"phpstan/phpstan-phpunit": "^1.1.1",
"phpunit/phpunit": "^9.5.27",
"rector/rector": "0.15.1",
"symplify/easy-coding-standard": "11.1.20"
},
"scripts": {
"post-autoload-dump": [
"@php ./vendor/bin/testbench package:discover --ansi"
],
"check": "composer lint && composer test && composer lint:stan",
"lint:check": "./vendor/bin/ecs",
"lint:fix": "./vendor/bin/ecs --fix",
"lint:stan": "./vendor/bin/phpstan",
"lint:upgrade:check": "vendor/bin/rector process --dry-run",
"lint:upgrade": "vendor/bin/rector process",
"lint": "composer lint:upgrade && composer lint:fix && composer lint:stan",
"test": "./vendor/bin/phpunit",
"test:stubs": "STUBS_GENERATE=true ./vendor/bin/phpunit",
"test:coverage": "./vendor/bin/phpunit --coverage-text"
},
"autoload": {
"psr-4": {
"LaraStrict\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\LaraStrict\\Feature\\": "tests/Feature/",
"Tests\\LaraStrict\\Unit\\": "tests/Unit/"
}
},
"suggest": {
"php-http/mock-client": "Use this package for testing HTTP/s clients.",
"wrk-flow/php-api-sdk-builder": "Wrap external APIs with type safe API client",
"wrk-flow/php-get-type-value": "Get values from array/xml in type safe maner",
"nette/php-generator": "For generating test exceptions / assert classes",
"phpstan/phpdoc-parser": "For better generation of test exceptions (with phpdoc typehints)"
},
"extra": {
"laravel": {
"providers": [
"LaraStrict\\Core\\LaraStrictServiceProvider"
]
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"minimum-stability": "dev",
"prefer-stable": true
}