-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
50 lines (50 loc) · 1.47 KB
/
composer.json
File metadata and controls
50 lines (50 loc) · 1.47 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
{
"name": "delaneymethod/spamshield",
"description": "Lightweight, pluggable spam scoring for PHP forms. Works with Craft, ExpressionEngine, Laravel, or vanilla PHP.",
"type": "library",
"license": "MIT",
"keywords": ["spam shield", "spam scoring", "gibberish detector"],
"authors": [
{ "name": "Sean Delaney", "email": "hello@delaneymethod.com" }
],
"support": {
"docs": "https://github.com/delaneymethod/spamshield/blob/main/README.md",
"issues": "https://github.com/delaneymethod/spamshield/issues"
},
"scripts": {
"lint": ["@lint:php", "@lint:style"],
"lint:php": "parallel-lint src tests",
"lint:style": "phpcs",
"fix": "php-cs-fixer fix --diff --config=./.php-cs-fixer.dist.php",
"fix:dry-run": "php-cs-fixer fix --dry-run --diff --config=./.php-cs-fixer.dist.php",
"test": "XDEBUG_MODE=coverage phpunit --configuration phpunit.xml",
"ci": ["@lint", "@test"]
},
"require": {
"php": "^8.0",
"ext-mbstring": "*",
"ext-json": "*",
"ext-filter": "*",
"ext-pcre": "*"
},
"autoload": {
"psr-4": {
"delaneymethod\\spamshield\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"delaneymethod\\spamshield\\tests\\": "tests/"
}
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3",
"php-parallel-lint/php-parallel-lint": "^1",
"phpunit/phpunit": "^9.6 || ^10 || ^11",
"squizlabs/php_codesniffer": "^3"
},
"prefer-stable": true,
"config": {
"sort-packages": true
}
}