forked from richan-fongdasen/eloquent-blameable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
93 lines (93 loc) · 2.46 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
{
"name": "richan-fongdasen/eloquent-blameable",
"description": "Blameable behavior implementation for your Eloquent Model in Laravel",
"type": "library",
"license": "MIT",
"homepage": "https://github.com/richan-fongdasen/eloquent-blameable",
"keywords": [
"laravel",
"laravel-package",
"eloquent",
"blameable"
],
"authors": [
{
"name": "Richan Fongdasen",
"email": "richan.fongdasen@gmail.com"
}
],
"support": {
"issues": "https://github.com/richan-fongdasen/eloquent-blameable/issues",
"source": "https://github.com/richan-fongdasen/eloquent-blameable"
},
"require": {
"php": "^7.3",
"illuminate/database": "^8.0",
"illuminate/support": "^8.0"
},
"require-dev": {
"ekino/phpstan-banned-code": "^0.3.1",
"mockery/mockery": "^1.3",
"orchestra/database": "~6.0",
"orchestra/testbench": "~6.0",
"phpmd/phpmd": "^2.9",
"phpstan/phpstan": "^0.12",
"phpstan/phpstan-deprecation-rules": "^0.12",
"phpstan/phpstan-strict-rules": "^0.12",
"phpunit/phpunit": "^9.3",
"sebastian/phpcpd": "^6.0"
},
"config": {
"sort-packages": true
},
"autoload": {
"psr-4": {
"RichanFongdasen\\EloquentBlameable\\": "src/"
},
"files": [
"src/helpers.php"
]
},
"autoload-dev": {
"psr-4": {
"RichanFongdasen\\EloquentBlameableTest\\": "tests/",
"Database\\Factories\\": "tests/Supports/Factories/"
}
},
"extra": {
"laravel": {
"providers": [
"RichanFongdasen\\EloquentBlameable\\ServiceProvider"
]
}
},
"scripts": {
"analyse": [
"composer check-syntax",
"composer phpstan-analysis",
"composer phpmd-analysis",
"vendor/bin/phpcpd --min-lines=3 --min-tokens=36 src/"
],
"check-syntax": [
"! find src -type f -name \"*.php\" -exec php -l {} \\; | grep -v 'No syntax errors'",
"! find tests -type f -name \"*.php\" -exec php -l {} \\; | grep -v 'No syntax errors'"
],
"phpstan-analysis": [
"vendor/bin/phpstan analyse -c phpstan.neon --no-progress"
],
"phpmd-analysis": [
"vendor/bin/phpmd src text codesize,controversial,design,naming,unusedcode,.phpmd.cleancode.xml"
],
"cov-text": [
"phpdbg -qrr vendor/bin/phpunit --coverage-text"
],
"cov-html": [
"phpdbg -qrr vendor/bin/phpunit --coverage-html coverage"
],
"test": [
"vendor/bin/phpunit"
]
},
"minimum-stability": "dev",
"prefer-stable": true
}