-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
71 lines (71 loc) · 1.43 KB
/
Copy pathcomposer.json
File metadata and controls
71 lines (71 loc) · 1.43 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
{
"name": "trafficinc/fireline",
"description": "Low-configuration PHP web application firewall request blocker.",
"type": "library",
"license": "MIT",
"keywords": [
"waf",
"firewall",
"security",
"php"
],
"support": {
"source": "https://github.com/trafficinc/fireline"
},
"config": {
"platform": {
"php": "8.1.0"
},
"sort-packages": true
},
"require": {
"php": ">=7.1",
"ext-json": "*"
},
"require-dev": {
"phpunit/phpunit": "^10.5",
"vimeo/psalm": "^5.26"
},
"autoload": {
"psr-4": {
"Fireline\\": "src/",
"Cli\\": "cli/Cli/",
"Filters\\": "src/Filters/",
"Handlers\\": "src/Handlers/"
},
"classmap": [
"src/Fireline.php",
"src/BaseFilter.php"
],
"files": [
"src/LogService.php",
"helpers.php"
]
},
"autoload-dev": {
"classmap": [
"tests/Unit/"
]
},
"scripts": {
"check": [
"@test",
"@lint",
"@smoke",
"@config:check",
"@rules:validate"
],
"config:check": "php fire.php config:check",
"lint": "find . -maxdepth 3 -type f -name '*.php' -not -path './vendor/*' -not -path './backup/*' -exec php -l {} \\;",
"rules:validate": "php fire.php rules:validate",
"smoke": "php tests/smoke.php",
"test": "vendor/bin/phpunit"
},
"archive": {
"exclude": [
"/backup",
"/storage/logs/*.log",
"/tests"
]
}
}