forked from timacdonald/has-parameters
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
73 lines (73 loc) · 1.94 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
{
"name": "timacdonald/has-parameters",
"description": "A trait that allows you to pass arguments to Laravel middleware in a more PHP'ish way.",
"license": "MIT",
"keywords": [
"laravel",
"middleware",
"parameters",
"arguments"
],
"authors": [
{
"name": "Tim MacDonald",
"email": "[email protected]",
"homepage": "https://timacdonald.me"
}
],
"support": {
"issues": "https://github.com/timacdonald/has-parameters/issues",
"source": "https://github.com/timacdonald/has-parameters/releases/latest",
"docs": "https://github.com/timacdonald/has-parameters/blob/master/readme.md"
},
"require": {
"php": "^8.1",
"illuminate/support": "^9.0 || ^10.0",
"illuminate/http": "^9.0 || ^10.0"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.4"
},
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
"TiMacDonald\\Middleware\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true
},
"preferred-install": "dist",
"sort-packages": true
},
"scripts": {
"bin": "echo 'bin not installed'",
"post-install-cmd": [
"@composer bin all install --ansi"
],
"post-update-cmd": [
"@composer bin all update --ansi"
],
"fix": [
"clear",
"./vendor/bin/php-cs-fixer fix"
],
"lint": [
"clear",
"./vendor/bin/php-cs-fixer fix --dry-run",
"./vendor/bin/phpstan analyse"
],
"test": [
"clear",
"./vendor/bin/phpunit",
"./vendor/bin/infection --threads=8"
]
}
}