-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
111 lines (111 loc) · 3.4 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
{
"name": "tjvb/laravel-githash",
"description": "Get the current git hash from your project, show it in your blade or add it to your logs.",
"license": "MIT",
"type": "library",
"keywords": [
"tjvb",
"githash",
"hash",
"laravel"
],
"authors": [
{
"name": "Tobias van Beek",
"email": "[email protected]",
"homepage": "https://www.tjvb.nl"
}
],
"support": {
"issues": "https://gitlab.com/tjvb/laravel-githash/-/issues",
"source": "https://gitlab.com/tjvb/laravel-githash/-/tree/master"
},
"funding": [
{
"type": "paypal",
"url": "https://paypal.me/tvbeek"
},
{
"type": "github",
"url": "https://github.com/sponsors/tvbeek"
},
{
"type": "github",
"url": "https://github.com/sponsors/TJVB"
}
],
"require": {
"php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
"laravel/framework": "^8.0 || ^9.0 || ^10 || ^11",
"tjvb/githash": "^1.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.52",
"infection/infection": "^0.25.3 || ^0.26.0 || ^0.27.0|| ^0.28.0 || ^0.29.0",
"orchestra/testbench": "^6.21 || ^7.0 || ^8.0 || ^9.0",
"phpmd/phpmd": "^2.10",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^9.5 || ^10.0 || ^11.0",
"slevomat/coding-standard": "^8.15",
"squizlabs/php_codesniffer": "^3.7",
"symplify/easy-coding-standard": "^12.1"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"TJVB\\LaravelGitHash\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"TJVB\\LaravelGitHash\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"infection/extension-installer": true
},
"sort-packages": true
},
"extra": {
"laravel": {
"providers": [
"TJVB\\LaravelGitHash\\GitHashServiceProvider"
]
}
},
"scripts": {
"analyse": [
"@phpstan",
"@phpmd"
],
"analyze": "@analyse",
"check": [
"@cs-fix",
"@test-coverage",
"@analyse",
"@infection"
],
"cs": "vendor/bin/ecs",
"cs-fix": "vendor/bin/ecs --fix",
"infection": "vendor/bin/infection",
"phpmd": "vendor/bin/phpmd src/ text phpmd.xml.dist",
"phpstan": "vendor/bin/phpstan",
"test": "vendor/bin/phpunit --no-coverage",
"test-coverage": "vendor/bin/phpunit --coverage-html build/coverage"
},
"scripts-descriptions": {
"analyse": "Run the analyse steps (PHPStan and PHPMD)",
"analyze": "See analyse",
"check": "Runs @analyse, @cs-fix, @test-coverage and @infection.",
"cs": "Check the codestyle with ecs.",
"cs-fix": "Check the codestyle with ecs and if possible fix the found issues.",
"infection": "Run infection.",
"phpmd": "Analyse the code with PHPMD",
"phpstan": "Analyse the code with PHPStan.",
"test": "Run the PHPUnit tests without coverage.",
"test-coverage": "Run the PHPUnit tests with coverage."
}
}